add all frontend files

This commit is contained in:
2026-01-17 15:16:36 -05:00
parent ff16ae7858
commit e40287e4aa
25704 changed files with 1935289 additions and 0 deletions

11
node_modules/antd/es/_util/hooks/useSyncState.js generated vendored Normal file
View File

@@ -0,0 +1,11 @@
import * as React from 'react';
import { useForceUpdate } from './useForceUpdate';
export const useSyncState = initialValue => {
const ref = React.useRef(initialValue);
const [, forceUpdate] = useForceUpdate();
return [() => ref.current, newValue => {
ref.current = newValue;
// re-render
forceUpdate();
}];
};