Commit e5f83ac6 authored by Max Alekseenko's avatar Max Alekseenko

disable wallet validation

parent 490d61b0
...@@ -94,8 +94,9 @@ export default function useRatings() { ...@@ -94,8 +94,9 @@ export default function useRatings() {
}, [ address ]); }, [ address ]);
useEffect(() => { useEffect(() => {
const { isPlaceholderData, data } = addressCountersQuery; // TODO: uncomment validation after testing
const canRate = address && !isPlaceholderData && Number(data?.transactions_count) >= 10; const { isPlaceholderData/*, data*/ } = addressCountersQuery;
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