diff --git a/packages/client/ui-settings-models/src/client/OnboardingModal.tsx b/packages/client/ui-settings-models/src/client/OnboardingModal.tsx index 3e2b25559c..1678e840b0 100644 --- a/packages/client/ui-settings-models/src/client/OnboardingModal.tsx +++ b/packages/client/ui-settings-models/src/client/OnboardingModal.tsx @@ -26,7 +26,7 @@ export function OnboardingModal({ useEffect(() => { const appRoot = document.getElementById('root') if (appRoot === null) return - const previous = appRoot.inert === true + const previous = appRoot.inert appRoot.inert = true return () => { appRoot.inert = previous } }, []) diff --git a/packages/client/ui-settings-models/tests/welcome-store.client.spec.ts b/packages/client/ui-settings-models/tests/welcome-store.client.spec.ts index 97c026df1a..e1fa7572c3 100644 --- a/packages/client/ui-settings-models/tests/welcome-store.client.spec.ts +++ b/packages/client/ui-settings-models/tests/welcome-store.client.spec.ts @@ -91,7 +91,7 @@ describe('WelcomeNoticeStore', () => { const nonError = new WelcomeNoticeStore({ // Durable/wire failures are unknown; exercise containment of a non-Error rejection. - settings: { describe: () => Promise.reject('offline string') }, + settings: { describe: () => Promise.reject(new Error('offline string')) }, } as never) await nonError.load() expect(nonError.store.getSnapshot().error).toBe('offline string')