From e7eb30f5e4e0ea8fc672d9e78bad98d672f9b6e1 Mon Sep 17 00:00:00 2001 From: Anubhav Jain Date: Sun, 10 Mar 2024 17:01:03 +0530 Subject: [PATCH] --fix the linting issue- --- src/components/Sidebar.tsx | 12 ++--- src/components/admin/AddContent.tsx | 56 +++++++++++----------- src/components/landing/appbar/nav-menu.tsx | 1 - 3 files changed, 34 insertions(+), 35 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index ff30d08d8..d2e9fe06d 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -150,16 +150,16 @@ export function ToggleButton({ ); diff --git a/src/components/admin/AddContent.tsx b/src/components/admin/AddContent.tsx index 38f409d8d..0fa8f9a8b 100644 --- a/src/components/admin/AddContent.tsx +++ b/src/components/admin/AddContent.tsx @@ -53,38 +53,38 @@ export const AddContent = ({ placeholder="Image url" onChange={(e) => setImageUri(e.target.value)} /> - setAdminPassword(e.target.value)} - /> + setAdminPassword(e.target.value)} + /> {type === 'video' && } {type === 'notion' && } - + ); diff --git a/src/components/landing/appbar/nav-menu.tsx b/src/components/landing/appbar/nav-menu.tsx index 729b1e3b9..9ad4f5822 100644 --- a/src/components/landing/appbar/nav-menu.tsx +++ b/src/components/landing/appbar/nav-menu.tsx @@ -75,7 +75,6 @@ export function NavigationMenu() { -