From 3f0655d280e744e685b5b449d716ff1443c93690 Mon Sep 17 00:00:00 2001 From: Wolfboy248 Date: Mon, 25 Aug 2025 09:47:23 +0200 Subject: Removed unnecessary imports --- frontend/src/components/Sidebar/Content.tsx | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'frontend/src/components/Sidebar/Content.tsx') diff --git a/frontend/src/components/Sidebar/Content.tsx b/frontend/src/components/Sidebar/Content.tsx index 3d9533a..ceb9e67 100644 --- a/frontend/src/components/Sidebar/Content.tsx +++ b/frontend/src/components/Sidebar/Content.tsx @@ -1,6 +1,5 @@ -import React, { useRef } from "react"; -import { Link, useLocation } from "react-router-dom"; -import { UserProfile } from "@customTypes/Profile"; +import React from "react"; +import { Link } from "react-router-dom"; import styles from "./Sidebar.module.css"; @@ -11,14 +10,12 @@ import { import links from "./Links"; interface ContentProps { - profile?: UserProfile; isSearching: boolean; selectedButtonIndex: number - isSidebarOpen: boolean; handle_sidebar_click: (clicked_sidebar_idx: number) => void; }; -const _Content: React.FC = ({ profile, isSearching, selectedButtonIndex, isSidebarOpen, handle_sidebar_click }) => { +const _Content: React.FC = ({ isSearching, selectedButtonIndex, handle_sidebar_click }) => { return (
-- cgit v1.2.3