From 1b93f3a5317a433b466125eedfa8fdb177ac69f6 Mon Sep 17 00:00:00 2001 From: Baitinq Date: Fri, 28 Jun 2024 20:30:55 +0200 Subject: Misc: Fix tsx warnings --- src/components/Graphs/LineGraph.tsx | 2 -- src/lib/types.tsx | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/Graphs/LineGraph.tsx b/src/components/Graphs/LineGraph.tsx index c48c51b..4cbea05 100644 --- a/src/components/Graphs/LineGraph.tsx +++ b/src/components/Graphs/LineGraph.tsx @@ -1,5 +1,3 @@ -import { useEffect } from 'react'; - import { Chart as ChartJS, CategoryScale, diff --git a/src/lib/types.tsx b/src/lib/types.tsx index 8e0fda4..a0567e6 100644 --- a/src/lib/types.tsx +++ b/src/lib/types.tsx @@ -1,4 +1,4 @@ -type File = { +interface File { id: number user_id: string absolute_path: string -- cgit 1.4.1