mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 17:36:08 +08:00
bump deps
This commit is contained in:
9 files changed
+16
-19
No files matched your search
@@ -64,10 +64,7 @@ let scratchpad: ScratchpadService;
|
||||
|
||||
export default function ScratchpadContainer() {
|
||||
const store = useStore();
|
||||
if (!scratchpad) {
|
||||
scratchpad = new ScratchpadService(store);
|
||||
ctx.provide('scratchpad', scratchpad);
|
||||
}
|
||||
scratchpad ||= new ScratchpadService(store);
|
||||
const [, updateState] = React.useState<any>();
|
||||
const forceUpdate = React.useCallback(() => updateState({}), []);
|
||||
React.useEffect(() => {
|
||||
|
||||
Reference in new issue
Block a user