Skip to content

Commit 90fd90b

Browse files
committed
fix lint
1 parent a2ab1cf commit 90fd90b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/pages/CreateTokenPage/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ export const filterByMaxTokenLifetime = (
4646

4747
// otherwise only return options that are less than or equal to the max lifetime
4848
return lifetimeDayPresets.filter(
49-
(lifetime) => lifetime.value <= maxTokenLifetime / NANO_HOUR / 24,
49+
(lifetime) => Number(lifetime.value) <= maxTokenLifetime / NANO_HOUR / 24,
5050
)
5151
}
5252

0 commit comments

Comments
 (0)