Commit 5e9c6a15 authored by Max Alekseenko's avatar Max Alekseenko

return back wallet validation

parent d97d03e3
...@@ -84,8 +84,8 @@ export default function useRatings() { ...@@ -84,8 +84,8 @@ export default function useRatings() {
}, [ address ]); }, [ address ]);
useEffect(() => { useEffect(() => {
const { isPlaceholderData/**, data**/ } = addressCountersQuery; const { isPlaceholderData, data } = addressCountersQuery;
const canRate = address && !isPlaceholderData /**&& Number(data?.transactions_count) >= 10**/; const canRate = address && !isPlaceholderData && Number(data?.transactions_count) >= 10;
setCanRate(canRate); setCanRate(canRate);
}, [ address, addressCountersQuery ]); }, [ address, addressCountersQuery ]);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment