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 44bc4bc commit 2e4e166Copy full SHA for 2e4e166
1 file changed
app/utils/prehydrate.ts
@@ -16,7 +16,7 @@ export function initPreferencesOnPrehydrate() {
16
const validPMs = new Set(['npm', 'pnpm', 'yarn', 'bun', 'deno', 'vlt'])
17
18
// Read settings from localStorage
19
- const settings = JSON.parse(localStorage.getItem('npmx-settings') || '{}')
+ const settings = JSON.parse(localStorage.getItem('npmx-settings') || '{}') as AppSettings
20
21
const accentColorId = settings.accentColorId
22
if (accentColorId && accentColorIds.has(accentColorId)) {
0 commit comments