minor change
This commit is contained in:
parent
6842da4283
commit
0ac5009a4a
|
@ -59,7 +59,6 @@ export default function SurveyModal({ onClose, submit }: Props) {
|
||||||
intent="accent"
|
intent="accent"
|
||||||
onClick={() => submit(referer, other)}
|
onClick={() => submit(referer, other)}
|
||||||
>
|
>
|
||||||
<i className="bi-check2 text-xl" />
|
|
||||||
{t("submit")}
|
{t("submit")}
|
||||||
</Button>
|
</Button>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -53,7 +53,9 @@ export default function Dashboard() {
|
||||||
new Date().getTime() - new Date(account.createdAt).getTime() >
|
new Date().getTime() - new Date(account.createdAt).getTime() >
|
||||||
3 * 24 * 60 * 60 * 1000
|
3 * 24 * 60 * 60 * 1000
|
||||||
) {
|
) {
|
||||||
setShowsSurveyModal(true);
|
setTimeout(() => {
|
||||||
|
setShowsSurveyModal(true);
|
||||||
|
}, 1000);
|
||||||
}
|
}
|
||||||
}, [account]);
|
}, [account]);
|
||||||
|
|
||||||
|
|
Ŝarĝante…
Reference in New Issue