diff --git a/src/components/Filter.tsx b/src/components/Filter.tsx index 1ffe3b1a7d5ae8eae8114327340b98d4314a094a..25b8d23ee7da78183361d29861089f9645ebd8ec 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;