From 9ffc9f1ed5e1d34775a99140f3a4747be4cbe7f8 Mon Sep 17 00:00:00 2001 From: Samuel Newman Date: Fri, 5 Sep 2025 17:36:43 +0300 Subject: [PATCH] only show bookmarks nux to existing users --- src/components/dialogs/nuxs/index.tsx | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/components/dialogs/nuxs/index.tsx b/src/components/dialogs/nuxs/index.tsx index bb15c5f630..4076708fc0 100644 --- a/src/components/dialogs/nuxs/index.tsx +++ b/src/components/dialogs/nuxs/index.tsx @@ -17,6 +17,7 @@ import {BookmarksAnnouncement} from '#/components/dialogs/nuxs/BookmarksAnnounce * NUXs */ import {isSnoozed, snooze, unsnooze} from '#/components/dialogs/nuxs/snoozing' +import {isExistingUserAsOf} from './utils' type Context = { activeNux: Nux | undefined @@ -34,6 +35,12 @@ const queuedNuxs: { }[] = [ { id: Nux.BookmarksAnnouncement, + enabled: ({currentProfile}) => { + return isExistingUserAsOf( + '2025-09-08T00:00:00.000Z', + currentProfile.createdAt, + ) + }, }, ]