From 6b8caa0ee912c768b2df7b2deea9ec7f492f0de9 Mon Sep 17 00:00:00 2001 From: Mary Kate Fain Date: Wed, 12 Feb 2025 15:47:21 -0600 Subject: [PATCH] make it show 1 streak even if zero if you just posted, because the streak post just hasn't gone through yet --- .../ui/components/modals/streak-modal.tsx | 24 +++++++++---------- 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/src/features/ui/components/modals/streak-modal.tsx b/src/features/ui/components/modals/streak-modal.tsx index 805b84e8f..096a5f6ba 100644 --- a/src/features/ui/components/modals/streak-modal.tsx +++ b/src/features/ui/components/modals/streak-modal.tsx @@ -106,18 +106,18 @@ const StreakModal: React.FC = ({ onClose }) => { )} - {account.ditto?.streak?.days > 0 && ( - - - - - - - - {shortNumberFormat(account.ditto.streak.days)} - - - )} + + + + + + + + {account.ditto?.streak?.days > 0 ? + shortNumberFormat(account.ditto.streak.days) : + } + +