about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2024-06-28 20:30:55 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2024-06-28 20:30:55 +0200
commit1b93f3a5317a433b466125eedfa8fdb177ac69f6 (patch)
tree4c8d9a2d52f34782e5bd5773f286f71554f3035e
parenttodo (diff)
downloadfs-tracer-frontend-1b93f3a5317a433b466125eedfa8fdb177ac69f6.tar.gz
fs-tracer-frontend-1b93f3a5317a433b466125eedfa8fdb177ac69f6.tar.bz2
fs-tracer-frontend-1b93f3a5317a433b466125eedfa8fdb177ac69f6.zip
Misc: Fix tsx warnings
-rw-r--r--src/components/Graphs/LineGraph.tsx2
-rw-r--r--src/lib/types.tsx2
2 files changed, 1 insertions, 3 deletions
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