upgrade to typescript@5.6 and cordis@3.18

This commit is contained in:
undefined committed 2024-10-02 08:33:52 +08:00
1 parent c3953a3ce7
commit 30e95b4511
22 files changed
+52 -46

No files matched your search

@@ -62,8 +62,7 @@ declare module '../../context' {
export default function ScratchpadContainer() {
const store = useStore();
ctx.provide('scratchpad');
ctx.scratchpad ||= new ScratchpadService(store);
ctx.set('scratchpad', new ScratchpadService(store));
const [, updateState] = React.useState<any>();
const forceUpdate = React.useCallback(() => updateState({}), []);
React.useEffect(() => {