
* feat: make new connections refact: context groups | feat: area detection and a bunch of small things. hate yourself for this massive commit * refact: initial RTK setup for Notifications * refact: removed Notification Context
5 lines
269 B
TypeScript
5 lines
269 B
TypeScript
import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'
|
|
import type { RootState, AppDispatch } from './store'
|
|
|
|
export const useAppDispatch = () => useDispatch<AppDispatch>()
|
|
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector |