Added Statistics calculation
Statistics now show calculated values
This commit is contained in:
parent
fe87374e47
commit
fc0f69dacb
2147 changed files with 141321 additions and 39 deletions
7
node_modules/@mui/x-internals/esm/store/useStore.js
generated
vendored
Normal file
7
node_modules/@mui/x-internals/esm/store/useStore.js
generated
vendored
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
/* We need to import the shim because React 17 does not support the `useSyncExternalStore` API.
|
||||
* More info: https://github.com/mui/mui-x/issues/18303#issuecomment-2958392341 */
|
||||
import { useSyncExternalStoreWithSelector } from 'use-sync-external-store/shim/with-selector';
|
||||
export function useStore(store, selector, a1, a2, a3) {
|
||||
const selectorWithArgs = state => selector(state, a1, a2, a3);
|
||||
return useSyncExternalStoreWithSelector(store.subscribe, store.getSnapshot, store.getSnapshot, selectorWithArgs);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue