useAppSelector: export type

This commit is contained in:
Alex Gleason 2024-02-12 17:57:28 -06:00
parent a9d311028e
commit 15af206a45
No known key found for this signature in database
GPG Key ID: 7211D1F99744FBB7
1 changed files with 1 additions and 1 deletions

View File

@ -1,5 +1,5 @@
import { TypedUseSelectorHook, useSelector } from 'react-redux'; import { TypedUseSelectorHook, useSelector } from 'react-redux';
import { RootState } from 'soapbox/store'; import type { RootState } from 'soapbox/store';
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector; export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;