Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
Bielefeld-CeBiTec
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
Model registry
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
2024 Competition
Bielefeld-CeBiTec
Commits
4ac27782
Commit
4ac27782
authored
8 months ago
by
Liliana Sanfilippo
Browse files
Options
Downloads
Patches
Plain Diff
fixed event is declared but never read
parent
11d770aa
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Pipeline
#389474
passed
8 months ago
Stage: build
Stage: deploy
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/HorizontalTimeline.tsx
+1
-1
1 addition, 1 deletion
src/components/HorizontalTimeline.tsx
src/contents/wiki.tsx
+19
-0
19 additions, 0 deletions
src/contents/wiki.tsx
with
20 additions
and
1 deletion
src/components/HorizontalTimeline.tsx
+
1
−
1
View file @
4ac27782
...
...
@@ -64,7 +64,7 @@ function TimeItem({color, tag, title, children, pic, author, tabid}: ItemProps){
}
function
Open
({
person
}:{
person
:
string
}){
const
openPop
=
(
event
:
React
.
MouseEvent
<
HTMLButtonElement
,
MouseEvent
>
)
=>
{
const
openPop
=
(
_
event
:
React
.
MouseEvent
<
HTMLButtonElement
,
MouseEvent
>
)
=>
{
var
popup
=
document
.
getElementById
(
person
);
popup
!
.
classList
.
toggle
(
"
show
"
);
}
...
...
This diff is collapsed.
Click to expand it.
src/contents/wiki.tsx
+
19
−
0
View file @
4ac27782
...
...
@@ -122,6 +122,25 @@ function Troubleshooting(){
Simply rename the function in one of the modules or consider making it a component if you plan on using it frequently.
</
Collapsible
>
<
h4
>
Failed Pipelines
</
h4
>
<
Collapsible
title
=
"error TS6133: 'event' is declared but its value is never read."
>
<
h6
>
Example
</
h6
>
HorizontalTimeline.tsx:
<
div
className
=
"error"
>
$ yarn build
<
p
>
yarn run v1.22.19
</
p
>
<
p
>
$ tsc
&&
vite build
</
p
>
<
p
>
src/components/HorizontalTimeline.tsx(67,23): error TS6133: 'event' is declared but its value is never read.
error Command failed with exit code 2.
</
p
>
<
p
>
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
</
p
>
</
div
>
<
p
>
in
</
p
>
<
code
>
const openPop = (event : React.MouseEvent
<
HTMLButtonElement, MouseEvent
>
) =
>
{}
</
code
>
<
h6
>
Solutions
</
h6
>
</
Collapsible
>
</
div
>
)
}
\ No newline at end of file
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