Version 1.0.2 mit node_modules Verzeichnis

This commit is contained in:
ISA
2024-10-02 07:58:24 +02:00
parent f353a06b1b
commit 62b6e55a0a
68228 changed files with 4548477 additions and 651 deletions

1
node_modules/@mui/utils/esm/useOnMount/index.js generated vendored Normal file
View File

@@ -0,0 +1 @@
export { default } from "./useOnMount.js";

14
node_modules/@mui/utils/esm/useOnMount/useOnMount.js generated vendored Normal file
View File

@@ -0,0 +1,14 @@
'use client';
import * as React from 'react';
const EMPTY = [];
/**
* A React.useEffect equivalent that runs once, when the component is mounted.
*/
export default function useOnMount(fn) {
// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array
/* eslint-disable react-hooks/exhaustive-deps */
React.useEffect(fn, EMPTY);
/* eslint-enable react-hooks/exhaustive-deps */
}