import { TypedUseSelectorHook , useDispatch , useSelector } from 'react-redux' ; import type { DashboardRootState , DashboardDispatch } from './dashboard_state_store' ; export const useDashboardDispatch = ( ) => useDispatch < DashboardDispatch > ( ) ; export const useDashboardSelector = useSelector ;