mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-15 00:23:34 +03:00
Merge pull request #2595 from ecency/nt/votes-cache-fix
fixed cache state import bug/typo
This commit is contained in:
commit
e266e4bafa
@ -46,7 +46,7 @@ const UpvoteContainer = (props) => {
|
||||
const [isVoted, setIsVoted] = useState(null);
|
||||
const [isDownVoted, setIsDownVoted] = useState(null);
|
||||
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);
|
||||
|
||||
useEffect(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user