import useScrollIntoView from '../../../../common/hooks/useScrollIntoView'; import { isDocker } from '../../../../externals'; import type { PanelBaseProps } from '../../panel-list/PanelList'; import * as Panel from '../../panel-utils/PanelUtils'; import CustomViews from '../manage-panel/CustomViews'; import GeneralSettings from './GeneralSettings'; import ProjectData from './ProjectData'; import ServerPortSettings from './ServerPortSettings'; import ViewSettings from './ViewSettings'; export default function SettingsPanel({ location }: PanelBaseProps) { const dataRef = useScrollIntoView('data', location); const generalRef = useScrollIntoView('general', location); const viewRef = useScrollIntoView('view', location); const customViewsRef = useScrollIntoView('custom-views', location); const portRef = useScrollIntoView('port', location); return ( <> Settings
{!isDocker && (
)} ); }