18 lines
268 B
TypeScript
18 lines
268 B
TypeScript
"use client";
|
|
|
|
import { createLoadingHook } from "@kri/common/hooks";
|
|
|
|
const {
|
|
loadingCountAtom,
|
|
isLoadingAtom,
|
|
useLoading,
|
|
} = createLoadingHook();
|
|
|
|
export {
|
|
loadingCountAtom,
|
|
isLoadingAtom,
|
|
useLoading,
|
|
};
|
|
|
|
export const manualLoadingAtom = isLoadingAtom;
|