's'
This commit is contained in:
@@ -58,7 +58,6 @@ export function usePayStatusPoll(onPaid: () => void): boolean {
|
||||
const data = await res.json();
|
||||
if (data?.ok && data?.paid) {
|
||||
clearInterval(timer);
|
||||
clearCookie(COOKIE_NAME);
|
||||
setPolling(false);
|
||||
onPaidRef.current();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user