|
@@ -356,10 +356,12 @@ export const ProfileHeader = (props: Props) => {
|
|
|
const curMul = wallet.target_point_rollover / ((wallet?.score || 0) + (wallet.point || 0));
|
|
|
const config = wallet.no_bonus_config;
|
|
|
if (curMul >= (config || 0) && !isShowed) {
|
|
|
- setIsShowNoBounsWarn(true);
|
|
|
+ setTimeout(() => {
|
|
|
+ setIsShowNoBounsWarn(true);
|
|
|
+ }, 1000);
|
|
|
setIsShowed(true);
|
|
|
}
|
|
|
- }, [wallet]);
|
|
|
+ }, [wallet, isShowed]);
|
|
|
|
|
|
const handler = () => {
|
|
|
if (!!wallet.score) {
|