Rocket.Chat.ReactNative/app/lib/hooks/useAppSelector.ts

6 lines
206 B
TypeScript
Raw Normal View History

import { TypedUseSelectorHook, useSelector } from 'react-redux';
import { IApplicationState } from '../../definitions';
export const useAppSelector: TypedUseSelectorHook<IApplicationState> = useSelector;