Skip to content

Commit

Permalink
Formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mattwoberts committed Oct 7, 2024
1 parent 395a0a2 commit eedd58e
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions public/components/NotificationIndicator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,14 +100,12 @@ export const NotificationIndicator = () => {
</VStack>
</>
) : (
<div className="text-center pb-6">
<p className="text-display text-center mt-6 px-4">
<Trans id="modal.notifications.nonew">No new notifications</Trans>
</p>
{recent?.length === 0 && (
<Icon sprite={NoDataIllustration} height="120" className="mt-6 mb-2" />
)}
</div>
<div className="text-center pb-6">
<p className="text-display text-center mt-6 px-4">
<Trans id="modal.notifications.nonew">No new notifications</Trans>
</p>
{recent?.length === 0 && <Icon sprite={NoDataIllustration} height="120" className="mt-6 mb-2" />}
</div>
)}
{recent !== undefined && recent?.length > 0 && (
<>
Expand Down

0 comments on commit eedd58e

Please sign in to comment.