aboutsummaryrefslogtreecommitdiff
path: root/jb-ui/src/hooks.ts
diff options
context:
space:
mode:
authorMax Nanis2026-09-10 17:46:41 -0700
committerMax Nanis2026-09-10 17:46:41 -0700
commited201936813d9a720b51e6cb40a05267b94e7314 (patch)
treef675f6a0d91ed1d17f654e40936e8c1ca9ccf141 /jb-ui/src/hooks.ts
parent0ac38066402762dc5fa24f2ffa2170681a6eddb1 (diff)
downloadamt-jb-ed201936813d9a720b51e6cb40a05267b94e7314.tar.gz
amt-jb-ed201936813d9a720b51e6cb40a05267b94e7314.zip
Typescript prettier
Committing seperate so it's easier to see actual changes.
Diffstat (limited to 'jb-ui/src/hooks.ts')
-rw-r--r--jb-ui/src/hooks.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/jb-ui/src/hooks.ts b/jb-ui/src/hooks.ts
index 02ff1b6..7f8db4b 100644
--- a/jb-ui/src/hooks.ts
+++ b/jb-ui/src/hooks.ts
@@ -1,11 +1,11 @@
// This file serves as a central hub for re-exporting pre-typed Redux hooks.
-import { useDispatch, useSelector, TypedUseSelectorHook } from 'react-redux'
-import type { AppDispatch, RootState } from '@/store'
-
+import { useDispatch, useSelector, TypedUseSelectorHook } from "react-redux";
+import type { AppDispatch, RootState } from "@/store";
// Use throughout your app instead of plain `useDispatch` and `useSelector`
// export const useAppDispatch: () => AppDispatch = useDispatch.withTypes<AppDispatch>()
-export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector.withTypes<RootState>()
+export const useAppSelector: TypedUseSelectorHook<RootState> =
+ useSelector.withTypes<RootState>();
-export const useAppDispatch: () => AppDispatch = useDispatch
+export const useAppDispatch: () => AppDispatch = useDispatch;
// export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector