mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-14 07:08:44 +03:00
fixed cache state import bug/typo
This commit is contained in:
parent
bfd3f1a687
commit
41f2a101f0
@ -46,7 +46,7 @@ const UpvoteContainer = (props) => {
|
|||||||
const [isVoted, setIsVoted] = useState(null);
|
const [isVoted, setIsVoted] = useState(null);
|
||||||
const [isDownVoted, setIsDownVoted] = useState(null);
|
const [isDownVoted, setIsDownVoted] = useState(null);
|
||||||
const [totalPayout, setTotalPayout] = useState(get(content, 'total_payout'));
|
const [totalPayout, setTotalPayout] = useState(get(content, 'total_payout'));
|
||||||
const cachedVotes = useAppSelector((state) => {});
|
const cachedVotes = useAppSelector((state) => state.cache.votes);
|
||||||
const lastCacheUpdate = useAppSelector((state) => state.cache.lastUpdate);
|
const lastCacheUpdate = useAppSelector((state) => state.cache.lastUpdate);
|
||||||
|
|
||||||
useEffect(() => {
|
useEffect(() => {
|
||||||
|
Loading…
Reference in New Issue
Block a user