diff --git a/src/frontend/src/components/settings/SettingList.tsx b/src/frontend/src/components/settings/SettingList.tsx index e531fbf4f7..b5d2090bfb 100644 --- a/src/frontend/src/components/settings/SettingList.tsx +++ b/src/frontend/src/components/settings/SettingList.tsx @@ -136,6 +136,10 @@ export function SettingList({ (s: any) => s.key === key ); + if (settingsState?.settings && !setting) { + console.error(`Setting ${key} not found`); + } + return ( {setting ? ( diff --git a/src/frontend/src/pages/Index/Settings/UserSettings.tsx b/src/frontend/src/pages/Index/Settings/UserSettings.tsx index 614f84d493..6be2f53ad2 100644 --- a/src/frontend/src/pages/Index/Settings/UserSettings.tsx +++ b/src/frontend/src/pages/Index/Settings/UserSettings.tsx @@ -11,7 +11,6 @@ import { } from '@tabler/icons-react'; import { useMemo } from 'react'; -import { PlaceholderPanel } from '../../../components/items/Placeholder'; import { PanelGroup, PanelType } from '../../../components/nav/PanelGroup'; import { SettingsHeader } from '../../../components/nav/SettingsHeader'; import { UserSettingList } from '../../../components/settings/SettingList'; @@ -46,7 +45,33 @@ export default function UserSettings() { name: 'dashboard', label: t`Dashboard`, icon: , - content: + content: ( + + ) }, { name: 'display', diff --git a/src/frontend/src/pages/stock/StockDetail.tsx b/src/frontend/src/pages/stock/StockDetail.tsx index 247bdd44fe..1f5083bbb6 100644 --- a/src/frontend/src/pages/stock/StockDetail.tsx +++ b/src/frontend/src/pages/stock/StockDetail.tsx @@ -32,7 +32,6 @@ import { UnlinkBarcodeAction, ViewBarcodeAction } from '../../components/items/ActionDropdown'; -import { PlaceholderPanel } from '../../components/items/Placeholder'; import { StylishText } from '../../components/items/StylishText'; import InstanceDetail from '../../components/nav/InstanceDetail'; import NavigationTree from '../../components/nav/NavigationTree';