node_modules ignore

This commit is contained in:
2025-05-08 23:43:47 +02:00
parent e19d52f172
commit 4574544c9f
65041 changed files with 10593536 additions and 0 deletions

View File

@@ -0,0 +1,31 @@
import {
getFetchClient
} from "./chunk-LCL5TIBZ.js";
import {
require_react
} from "./chunk-MADUDGYZ.js";
import {
__toESM
} from "./chunk-PLDDJCW6.js";
// node_modules/@strapi/admin/dist/admin/admin/src/hooks/useFetchClient.mjs
var React = __toESM(require_react(), 1);
var useFetchClient = () => {
const controller = React.useRef(null);
if (controller.current === null) {
controller.current = new AbortController();
}
React.useEffect(() => {
return () => {
controller.current.abort();
};
}, []);
return React.useMemo(() => getFetchClient({
signal: controller.current.signal
}), []);
};
export {
useFetchClient
};
//# sourceMappingURL=chunk-FCIM6RNO.js.map