Update some more

This commit is contained in:
Michael Telatynski 2021-07-12 09:10:27 +01:00
parent a645cebb49
commit 33dca81352
3 changed files with 12 additions and 12 deletions

View file

@ -39,7 +39,7 @@ enum SpaceVisibility {
const useLocalEcho = <T extends any>(
currentFactory: () => T,
setterFn: (value: T) => Promise<any>,
setterFn: (value: T) => Promise<unknown>,
errorFn: (error: Error) => void,
): [value: T, handler: (value: T) => void] => {
const [value, setValue] = useState(currentFactory);