Still trying to get cra to play nice with theatre

This commit is contained in:
Aria Minaei 2021-08-07 23:24:37 +02:00
parent 824fdd6843
commit f4f33dcd8d
8 changed files with 88 additions and 62 deletions

View file

@ -56,7 +56,7 @@ export function usePrism<T>(
return useDerivation(derivation, debugLabel)
}
export const useVal: typeof val = (p, debugLabel?: string) => {
export const useVal: typeof val = (p: $IntentionalAny, debugLabel?: string) => {
return usePrism(() => val(p), [p], debugLabel)
}