Skip to content
This repository has been archived by the owner on Sep 21, 2024. It is now read-only.

Commit

Permalink
fix: type conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
posaune0423 committed Jul 4, 2024
1 parent 0fdd9e2 commit 6b645ad
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"dev": "vite",
"build-prod": "tsc && vite build",
"build": "vite build",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives",
"preview": "vite preview",
"test": "vitest",
"coverage": "vitest run --coverage",
Expand Down
2 changes: 1 addition & 1 deletion src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function App() {

if (firstGame) {
const endTimestamp = firstGame[1];
setEndDate(new Date(endTimestamp * 1000));
setEndDate(new Date(Number(endTimestamp) * 1000));
}
}
}, [gameData]);
Expand Down

0 comments on commit 6b645ad

Please sign in to comment.