aboutsummaryrefslogtreecommitdiff
path: root/frontend/src/components/Sidebar/Content.tsx
diff options
context:
space:
mode:
authorWolfboy248 <georgejvindkarlsen@gmail.com>2025-08-25 09:47:23 +0200
committerWolfboy248 <georgejvindkarlsen@gmail.com>2025-08-25 09:47:23 +0200
commit3f0655d280e744e685b5b449d716ff1443c93690 (patch)
tree6fff4e6608c69c15aadff61b32f1f2f55ab61ccc /frontend/src/components/Sidebar/Content.tsx
parentRestructured sidebar and implemented links var (diff)
downloadlphub-3f0655d280e744e685b5b449d716ff1443c93690.tar.gz
lphub-3f0655d280e744e685b5b449d716ff1443c93690.tar.bz2
lphub-3f0655d280e744e685b5b449d716ff1443c93690.zip
Removed unnecessary imports
Diffstat (limited to 'frontend/src/components/Sidebar/Content.tsx')
-rw-r--r--frontend/src/components/Sidebar/Content.tsx9
1 files changed, 3 insertions, 6 deletions
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 @@
1import React, { useRef } from "react"; 1import React from "react";
2import { Link, useLocation } from "react-router-dom"; 2import { Link } from "react-router-dom";
3import { UserProfile } from "@customTypes/Profile";
4 3
5import styles from "./Sidebar.module.css"; 4import styles from "./Sidebar.module.css";
6 5
@@ -11,14 +10,12 @@ import {
11import links from "./Links"; 10import links from "./Links";
12 11
13interface ContentProps { 12interface ContentProps {
14 profile?: UserProfile;
15 isSearching: boolean; 13 isSearching: boolean;
16 selectedButtonIndex: number 14 selectedButtonIndex: number
17 isSidebarOpen: boolean;
18 handle_sidebar_click: (clicked_sidebar_idx: number) => void; 15 handle_sidebar_click: (clicked_sidebar_idx: number) => void;
19}; 16};
20 17
21const _Content: React.FC<ContentProps> = ({ profile, isSearching, selectedButtonIndex, isSidebarOpen, handle_sidebar_click }) => { 18const _Content: React.FC<ContentProps> = ({ isSearching, selectedButtonIndex, handle_sidebar_click }) => {
22 19
23 return ( 20 return (
24 <div className="h-full"> 21 <div className="h-full">