eslint cleanup

This commit is contained in:
Dane Everitt
2020-07-04 18:30:50 -07:00
parent 922383e232
commit c419d15907
37 changed files with 42 additions and 47 deletions

View File

@@ -27,7 +27,7 @@ interface State {
schedule?: Schedule;
}
export default ({ match, history, location: { state } }: RouteComponentProps<Params, {}, State>) => {
export default ({ match, history, location: { state } }: RouteComponentProps<Params, Record<string, unknown>, State>) => {
const { id, uuid } = useServer();
const { clearFlashes, addError } = useFlash();
const [ isLoading, setIsLoading ] = useState(true);