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, useState, useRef } from 'react';
import useAppStore from '../useAppStore';
import useGeneralStore from '../hooks/stores/useGeneralStore';
import Modal from 'react-modal';
import styled from 'styled-components';
import Draggable from 'react-draggable';
@@ -251,7 +251,7 @@ const CaptchaModal = ({ isOpen, closeModal }) => {
pendingComment,
selectedStyle,
setCaptchaResponse,
} = useAppStore(state => state);
} = useGeneralStore(state => state);
const [imageSources, setImageSources] = useState([]);
const [currentChallengeIndex, setCurrentChallengeIndex] = useState(0);