Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export default defineConfig([
},
},
rules: {
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]' }],
'no-unused-vars': ['error', { varsIgnorePattern: '^[A-Z_]', argsIgnorePattern: '^_', caughtErrorsIgnorePattern: '^_' }],
},
},
])
9 changes: 0 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 2 additions & 0 deletions src/App.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import { loadHistory, saveHistoryRecord } from './utils/historyStorage'
import ResultsSummary from './components/ResultsSummary'
import WORD_POOL from './data/wordPool'
import QUOTE_POOL from './data/quotePool'
import { Analytics } from '@vercel/analytics/react'



Expand Down Expand Up @@ -579,6 +580,7 @@ function App() {
<button onClick={() => restartTest()}>Restart</button>
</div>
</div>
<Analytics />
</div>
)
}
Expand Down
10 changes: 0 additions & 10 deletions src/main.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ import { StrictMode } from 'react'
import { createRoot } from 'react-dom/client'
import './index.css'
import App from './App.jsx'
import { Analytics } from '@vercel/analytics/react';

function App() {
return (
<div className="App">
{/* Your existing code */}
<Analytics />
</div>
);
}

createRoot(document.getElementById('root')).render(
<StrictMode>
Expand Down