From 84ea50339d4bdd54671fe342c883e796bb1fd27a Mon Sep 17 00:00:00 2001 From: Artemy Egorov Date: Fri, 25 Aug 2023 18:34:12 +0300 Subject: [PATCH] fix: suggestions idk why break all not working --- src/components/navbar.tsx | 10 +++------- src/components/video.tsx | 4 +--- 2 files changed, 4 insertions(+), 10 deletions(-) diff --git a/src/components/navbar.tsx b/src/components/navbar.tsx index 2a47f86..7de143d 100644 --- a/src/components/navbar.tsx +++ b/src/components/navbar.tsx @@ -36,7 +36,7 @@ export function NavbarComponent() { -
+
{suggestions.length > 0 && suggestions.map((suggestion) => ( diff --git a/src/components/video.tsx b/src/components/video.tsx index 5996aee..239317b 100644 --- a/src/components/video.tsx +++ b/src/components/video.tsx @@ -38,9 +38,7 @@ export function VideoComponent({ video, uploaderAvatar }: VideoComponentProps) {

- {`${shortenNumber(video.views)}${ - video.uploadedDate ? ` • ${video.uploadedDate}` : "" - }`} + {`${shortenNumber(video.views)}${video.uploadedDate ? ` • ${video.uploadedDate}` : ""}`}