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

return back wallet validation

parent d97d03e3
......@@ -84,8 +84,8 @@ export default function useRatings() {
}, [ address ]);
useEffect(() => {
const { isPlaceholderData/**, data**/ } = addressCountersQuery;
const canRate = address && !isPlaceholderData /**&& Number(data?.transactions_count) >= 10**/;
const { isPlaceholderData, data } = addressCountersQuery;
const canRate = address && !isPlaceholderData && Number(data?.transactions_count) >= 10;
setCanRate(canRate);
}, [ 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