Commit e5f83ac6 authored by Max Alekseenko's avatar Max Alekseenko

disable wallet validation

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