Skip to content

Commit 17ae07b

Browse files
committed
[hygiene] Typed args
1 parent 3afa92c commit 17ae07b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/ui-react/dom.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ const useParams = <
146146
...args: Params
147147
): Params =>
148148
useMemo(
149-
() => args,
149+
() => args as any,
150150
// eslint-disable-next-line react-hooks/exhaustive-deps
151151
args,
152152
);

src/ui-react/hooks.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1511,7 +1511,7 @@ export const useCreatePersister: typeof useCreatePersisterDecl = <
15111511
): PersisterOrUndefined => {
15121512
const [, setDone] = useState<1>();
15131513
const persister = useMemo(
1514-
() => create(store),
1514+
() => create(store) as any,
15151515
// eslint-disable-next-line react-hooks/exhaustive-deps
15161516
[store, ...createDeps],
15171517
);

0 commit comments

Comments
 (0)