mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
add stores directory and naming
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user