Skip to content

Commit d797ff5

Browse files
authored
Update web/src/components/top-bar.tsx
1 parent 24e0180 commit d797ff5

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

web/src/components/top-bar.tsx

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,9 +133,7 @@ export function TopBar({ version, links }: TopBarProps): JSX.Element {
133133
<path d="M21 12.79A9 9 0 1 1 11.21 3 7 7 0 0 0 21 12.79z"></path>
134134
</svg>
135135
<input
136-
onClick={() => {
137-
toggleTheme();
138-
}}
136+
onClick={toggleTheme}
139137
id="theme-toggle"
140138
type="checkbox"
141139
value="dzcodeLight"

0 commit comments

Comments
 (0)