Skip to content

Commit fea609e

Browse files
committed
Show Privacy Policy notification only for new users
1 parent afc01c5 commit fea609e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/app/src/app/overmind/onInitialize.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ export const onInitialize: OnInitialize = async (
108108
effects.preview.initialize(overmindInstance.reaction);
109109

110110
// show terms message on first visit since new terms
111-
if (!effects.browser.storage.get(seenTermsKey)) {
111+
if (!effects.browser.storage.get(seenTermsKey) && !state.isFirstVisit) {
112112
effects.notificationToast.add({
113113
message:
114114
'Hello, our privacy policy has been updated recently. What’s new? CodeSandbox emails. Please read and reach out.',

0 commit comments

Comments
 (0)