Skip to content

Commit

Permalink
Update to Next.js 14 (#300)
Browse files Browse the repository at this point in the history
* Fix a spacing issue

* Update to Next.js 14

* Update Node.js

Node.js 18.17 or higher is apparently required for Next.js 14 to work, so update it to the latest version: 20.8.10.
  • Loading branch information
iamlogand authored Nov 3, 2023
1 parent ac6de4b commit d06d43e
Show file tree
Hide file tree
Showing 5 changed files with 200 additions and 256 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci_frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Setup Node.js environment
uses: actions/setup-node@v2
with:
node-version: '14'
node-version: '20'

- name: Cache dependencies
uses: actions/cache@v2
Expand Down
2 changes: 1 addition & 1 deletion frontend/components/ElapsedTime.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const ElapsedTime = ({ resetKey }: { resetKey: number }) => {

useEffect(() => {
if (intervalRef.current) {
clearInterval(intervalRef.current)
clearInterval(intervalRef.current as any)
}

setSeconds(0)
Expand Down
Loading

0 comments on commit d06d43e

Please sign in to comment.