diff --git a/src/routes/Settings.test.tsx b/src/routes/Settings.test.tsx index 6394ec305..4fe105b75 100644 --- a/src/routes/Settings.test.tsx +++ b/src/routes/Settings.test.tsx @@ -203,7 +203,7 @@ describe('routes/Settings.tsx', () => { getByLabelText = getByLabelTextLocal; }); - fireEvent.click(getByLabelText('Show notifications'), { + fireEvent.click(getByLabelText('Show system notifications'), { target: { checked: true }, }); diff --git a/src/routes/Settings.tsx b/src/routes/Settings.tsx index 0fa76eb94..6a45de3d5 100644 --- a/src/routes/Settings.tsx +++ b/src/routes/Settings.tsx @@ -148,15 +148,6 @@ export const SettingsRoute: React.FC = () => { updateSetting('participating', evt.target.checked) } /> - - - updateSetting('showNotifications', evt.target.checked) - } - /> { System + + updateSetting('showNotifications', evt.target.checked) + } + /> @@ -221,9 +221,9 @@ exports[`routes/Settings.tsx should render itself & its children 1`] = ` > @@ -234,9 +234,8 @@ exports[`routes/Settings.tsx should render itself & its children 1`] = ` class="flex items-center h-5" > @@ -245,12 +244,22 @@ exports[`routes/Settings.tsx should render itself & its children 1`] = ` > + +
+ + System +
@@ -258,8 +267,9 @@ exports[`routes/Settings.tsx should render itself & its children 1`] = ` class="flex items-center h-5" >
@@ -268,22 +278,12 @@ exports[`routes/Settings.tsx should render itself & its children 1`] = ` > -
-
- - System -