Skip to content

Commit

Permalink
fix: lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
luwes committed Apr 30, 2024
1 parent 8a0acfb commit d32a387
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions examples/nextjs/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import * as fs from 'node:fs/promises';
import type React from 'react';

import type { Metadata } from 'next';
import { DM_Sans, JetBrains_Mono } from 'next/font/google';
Expand Down
2 changes: 1 addition & 1 deletion examples/nextjs/app/theme-toggle.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ reflectPreference();
globalThis.onload = () => {
reflectPreference();

document.querySelector('#theme-toggle')?.addEventListener('click', (e) => {
document.querySelector('#theme-toggle')?.addEventListener('click', () => {
theme.value = theme.value === 'light' ? 'dark' : 'light';
setPreference();
});
Expand Down

0 comments on commit d32a387

Please sign in to comment.