add project structure

This commit is contained in:
veselovnk committed 2024-04-04 13:54:22 +03:00
1 parent 07fc6c0b6c
commit 6eaf18285a
28 files changed
+1309 -648

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'
import { AppDispatch, RootState } from '../store'
import { AppDispatch, RootState } from '../stores'
export const useAppDispatch = () => useDispatch<AppDispatch>()
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector
+2 -1
View File
@@ -1,6 +1,7 @@
import { useMemo } from 'react'
import { PermissionKeys } from '../types/roles.type.ts'
import { PermissionKeys } from '@type/roles.type.ts'
import { useAppSelector } from './redux.ts'
export const useRole = () => {