From 724c0a58fd3eed4ff7e2c07b83624dd7f00634e0 Mon Sep 17 00:00:00 2001 From: liliana <liliana.sanfilippo@uni-bielefeld.de> Date: Mon, 8 Jul 2024 17:08:57 +0200 Subject: [PATCH] unused imports --- src/components/Filter.tsx | 20 ++++---------------- 1 file changed, 4 insertions(+), 16 deletions(-) diff --git a/src/components/Filter.tsx b/src/components/Filter.tsx index 1ffe3b1a..25b8d23e 100644 --- a/src/components/Filter.tsx +++ b/src/components/Filter.tsx @@ -1,20 +1,8 @@ -import Select, { InputActionMeta } from 'react-select'; +import Select from 'react-select'; import React from 'react'; -const options2 =[ - { id: 1, - title: "Module Z has already exported a member named A. Consider explicitly re-exporting to resolve the ambiguity.", - solution: "Simply rename the function in one of the modules or consider making it a component if you plan on using it frequently.", - exampleDoc: "index.tsx:", - exampleError: [ - " Module './Bfh.tsx' has already exported a member named 'LabTabs'. ", - "Consider explicitly re-exporting to resolve the ambiguity." - ], - exampleExplanation: "", - labels: "label1|label2" - } -] + interface Props { value: string, @@ -98,7 +86,7 @@ const options =[ } } -function filterSelection(label: string) { +/* function filterSelection(label: string) { var x, i; x = document.getElementsByClassName("filterable"); if (label == "all") label = ""; @@ -107,7 +95,7 @@ function filterSelection(label: string) { w3RemoveClass(el, "show"); if (x[i].className.indexOf(label) > -1) w3AddClass(x[i], "show"); } -} +} */ function w3AddClass(element: Element, name: string) { var i, arr1, arr2; -- GitLab