Skip to content

chore: bump typescript from 4.8.2 to 5.1.6 in /site #8688

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
Jul 27, 2023
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
fix lint
  • Loading branch information
matifali committed Jul 24, 2023
commit 90fd90b6e763a4657868e6ce728de1ecf28e7ff1
2 changes: 1 addition & 1 deletion site/src/pages/CreateTokenPage/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const filterByMaxTokenLifetime = (

// otherwise only return options that are less than or equal to the max lifetime
return lifetimeDayPresets.filter(
(lifetime) => lifetime.value <= maxTokenLifetime / NANO_HOUR / 24,
(lifetime) => Number(lifetime.value) <= maxTokenLifetime / NANO_HOUR / 24,
)
}

Expand Down