added fetch card from server, style changes, i18

This commit is contained in:
DmitriyB
2023-03-20 16:45:16 +05:00
parent 85fa8dfe09
commit 21ac6e239c
59 changed files with 1452 additions and 501 deletions
+6
View File
@@ -0,0 +1,6 @@
import { useDispatch, useSelector, TypedUseSelectorHook } from "react-redux";
import { AppDispatch, RootState } from "../store/store";
export const useAppDispatch = () => useDispatch<AppDispatch>();
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;
+5
View File
@@ -0,0 +1,5 @@
import { useLocation } from "react-router";
const useQuery = () => new URLSearchParams(useLocation().search);
export default useQuery