import { Fragment } from 'react'; import { isKeyEnter } from '../../../common/utils/keyEvent'; import { cx } from '../../../common/utils/styleUtils'; import { PanelBaseProps, settingPanels, useSettingsStore } from '../settingsStore'; import useAppSettingsNavigation from '../useAppSettingsNavigation'; import style from './PanelList.module.scss'; interface PanelListProps extends PanelBaseProps { selectedPanel: string; } export default function PanelList({ selectedPanel, location }: PanelListProps) { const { setLocation } = useAppSettingsNavigation(); const { hasUnsavedChanges } = useSettingsStore(); return ( ); }