Skip to content

Commit

Permalink
fixed linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Kevin Lu committed Sep 20, 2024
1 parent 61ebd3e commit e12c494
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pages/hack-school/toggle_component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ const ToggleCodeBlock: FC<{ children: ReactNode }> = ({ children }) => {
<div>
<button
type="button"
onClick={() => setIsVisible((isVisible) => !isVisible)}
onClick={() => setIsVisible(isVisible => !isVisible)}
style={{
backgroundColor: 'hsl(var(--nextra-primary-hue) 100% 70% / var(--tw-bg-opacity))',
borderRadius: '4px',
Expand Down

0 comments on commit e12c494

Please sign in to comment.