address comment.

This commit is contained in:
ItzNotABug
2025-02-24 13:55:22 +05:30
parent 2e5ab08100
commit 2a2f0cde44
3 changed files with 6 additions and 7 deletions

View File

@@ -143,8 +143,8 @@ export const preferredVersion = writable<Version | null>(
globalThis?.localStorage?.getItem('preferredVersion') as Version
);
export const preferredPlatform = writable<Platform | null>(
(globalThis?.localStorage?.getItem('preferredPlatform') as Platform) ?? 'client-web'
export const preferredPlatform = writable<Platform>(
(globalThis?.localStorage?.getItem('preferredPlatform') ?? 'client-web') as Platform
);
if (browser) {