Skip to content

Commit d589725

Browse files
committed
Øker ventetid for ux signals
1 parent b83dbe7 commit d589725

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/nextjs/src/components/_common/uxsignalsWidget/UxSignalsWidget.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -28,12 +28,12 @@ export const UxSignalsWidget = ({ embedCode }: UxSignalsWidgetProps) => {
2828
addUXSignalsScript();
2929
return;
3030
}
31-
// Wait max 20 seconds for user respond to the cookie banner
31+
// Wait max 60 seconds for user respond to the cookie banner
3232
// (userActionTaken) or give up.
33-
if (!userActionTaken && tries < 20) {
33+
if (!userActionTaken && tries < 60) {
3434
scriptAddTimeout = setTimeout(() => {
3535
checkConsentOrWait(tries + 1);
36-
}, 3000);
36+
}, 1000);
3737
}
3838
};
3939

0 commit comments

Comments
 (0)