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,5 +1,5 @@
import React, { useEffect, useRef } from 'react';
import useAppStore from '../../useAppStore';
import useGeneralStore from '../../hooks/stores/useGeneralStore';
import { Link, useNavigate } from 'react-router-dom';
import { Container, Header, Logo, Page, Search, About, AboutTitle, AboutContent, Boards, BoardsTitle, BoardsContent, Footer } from './styles/Home.styled';
@@ -11,7 +11,7 @@ const Home = () => {
setSelectedAddress,
setSelectedStyle,
setSelectedTitle
} = useAppStore(state => state);
} = useGeneralStore(state => state);
const inputRef = useRef(null);
const navigate = useNavigate();