We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 38e916c commit 7203f9fCopy full SHA for 7203f9f
web/src/hooks/useVersionChecker.ts
@@ -82,8 +82,8 @@ function isVersionOutOfDate(
82
)
83
return false
84
85
- const currentVersionParts = currentVersion.split('.')
86
- const latestVersionParts = latestVersion.split('.')
+ const currentVersionParts = currentVersion.split('.').map(Number)
+ const latestVersionParts = latestVersion.split('.').map(Number)
87
if (currentVersionParts[0] < latestVersionParts[0]) {
88
return true
89
} else if (currentVersionParts[0] === latestVersionParts[0]) {
0 commit comments