Yehoshua Sandler 095c1ca8ec
Refactor notifications to redux (#6)
* 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
2023-09-04 10:02:08 -05:00

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