Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bielefeld-CeBiTec-Temp-until-thaw
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Package Registry
Model registry
Operate
Terraform modules
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Liliana Sanfilippo
Bielefeld-CeBiTec-Temp-until-thaw
Commits
724c0a58
Commit
724c0a58
authored
8 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
unused imports
parent
f129b579
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/components/Filter.tsx
+4
-16
4 additions, 16 deletions
src/components/Filter.tsx
with
4 additions
and
16 deletions
src/components/Filter.tsx
+
4
−
16
View file @
724c0a58
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
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment