add stores directory and naming

This commit is contained in:
plebbitor
2023-04-08 13:27:17 +02:00
parent 2a0d590713
commit 603c1084a9
15 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -1,12 +1,12 @@
import React, { useEffect } from 'react';
import useAppStore from '../../useAppStore';
import useGeneralStore from '../../hooks/stores/useGeneralStore';
import { Link } from "react-router-dom";
import { Container, Header, Logo, Page, Boards, BoardsTitle } from './styles/Home.styled';
const NotFound = ({ setBodyStyle }) => {
const { setSelectedStyle } = useAppStore(state => state);
const { setSelectedStyle } = useGeneralStore(state => state);
useEffect(() => {
setBodyStyle({