From 988d41161c26235ee84c7beed59b0a20e2e78b69 Mon Sep 17 00:00:00 2001 From: Hailey Date: Fri, 14 Jun 2024 16:32:15 -0700 Subject: [PATCH] fix conditions for newskie dialog --- src/components/StarterPack/NewskieDialog.tsx | 2 -- src/screens/Profile/Header/Handle.tsx | 10 +++++++++- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/src/components/StarterPack/NewskieDialog.tsx b/src/components/StarterPack/NewskieDialog.tsx index aea68bd509..c4202a4fc2 100644 --- a/src/components/StarterPack/NewskieDialog.tsx +++ b/src/components/StarterPack/NewskieDialog.tsx @@ -27,8 +27,6 @@ export function NewskieDialog({ const {joinedViaStarterPack} = profile const profileName = profile.displayName || `@${profile.handle}` - if (!profile.createdAt) return null - return ( <> 0 && Date.now() + 60e3 * 24 * DAYS_TO_SHOW_NEWSKIE > new Date(profile.createdAt).getTime() + console.log({ + date: Date.now() + 60e3 * 24 * DAYS_TO_SHOW_NEWSKIE, + createdAt: new Date(profile.createdAt).getTime(), + }) + + console.log(isNewskie) + return (