Still trying to get cra to play nice with theatre
This commit is contained in:
parent
824fdd6843
commit
f4f33dcd8d
8 changed files with 88 additions and 62 deletions
|
@ -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)
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue