only show bookmarks nux to existing users (#8988)

This commit is contained in:
Samuel Newman
2025-09-05 17:49:34 +03:00
committed by GitHub
parent ac0c4ef2d9
commit 124cfb57c7
+7
View File
@@ -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,
)
},
},
]