Files
ncd-fe/packages/pl-fe/src/hooks/use-frontend-config.ts
nicole mikołajczyk dbf633e4f8 pl-fe: avoid pl-fe in file and variable names
Signed-off-by: nicole mikołajczyk <git@mkljczk.pl>
2026-02-07 23:01:28 +01:00

9 lines
277 B
TypeScript

import { getFrontendConfig } from '@/actions/frontend-config';
import { useAppSelector } from './use-app-selector';
/** Get the pl-fe config from the store */
const useFrontendConfig = () => useAppSelector((state) => getFrontendConfig(state));
export { useFrontendConfig };