19 changed files with 2356 additions and 1636 deletions
-
133web/components/Navbar.tsx
-
7web/components/dashboard/ApiKeyList.tsx
-
17web/components/dashboard/DeviceList.tsx
-
4web/components/dashboard/GenerateApiKey.tsx
-
6web/components/dashboard/SendSMS.tsx
-
5web/next.config.js
-
43web/package.json
-
9web/pages/_app.tsx
-
15web/pages/dashboard.tsx
-
1web/pages/index.tsx
-
5web/pages/login.tsx
-
5web/pages/register.tsx
-
3704web/pnpm-lock.yaml
-
5web/services/gatewayService.ts
-
2web/store/apiKeySlice.ts
-
2web/store/authSlice.ts
-
23web/store/deviceSlice.ts
-
5web/store/hooks.ts
-
1web/store/store.ts
3704
web/pnpm-lock.yaml
File diff suppressed because it is too large
View File
File diff suppressed because it is too large
View File
@ -0,0 +1,5 @@ |
|||
import { useDispatch, useSelector, TypedUseSelectorHook } from 'react-redux' |
|||
import type { RootState, AppDispatch } from './store' |
|||
|
|||
export const useAppDispatch: () => AppDispatch = useDispatch |
|||
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue