Files
ncd-fe/packages/pl-fe/src/hooks/use-pl-fe-config.ts
marcin mikołajczak 44a4116a75 pl-fe: wip migrate pl-fe config
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
2024-11-14 21:18:56 +01:00

9 lines
255 B
TypeScript

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