mirror of
https://github.com/misode/misode.github.io.git
synced 2026-04-24 23:56:51 +00:00
Set 1.18.2 as the default version
This commit is contained in:
@@ -26,8 +26,7 @@ export namespace Store {
|
||||
if (version && VersionIds.includes(version as VersionId)) {
|
||||
return version as VersionId
|
||||
}
|
||||
if (version === 'latest') return '1.18.2' // Upgrade path, remove in the future
|
||||
return '1.18'
|
||||
return '1.18.2'
|
||||
}
|
||||
|
||||
export function getIndent() {
|
||||
|
||||
@@ -15,7 +15,7 @@ interface Version {
|
||||
changeVersion: (version: VersionId) => unknown,
|
||||
}
|
||||
const Version = createContext<Version>({
|
||||
version: '1.18',
|
||||
version: '1.18.2',
|
||||
changeVersion: () => {},
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user