USEAPPSELECTOR

//https://react-redux.js.org/tutorials/typescript-quick-start
import { useAppSelector} from 'app/hooks';

const count = useAppSelector((state) => state.counter.value);
Ren Ras