mirror of
https://github.com/spacedriveapp/spacedrive.git
synced 2026-05-18 21:36:56 -04:00
autoformat
This commit is contained in:
@@ -8,9 +8,7 @@ import settingsRoutes from './settings';
|
||||
// Routes that should be contained within the standard Page layout
|
||||
const pageRoutes: RouteObject = {
|
||||
lazy: () => import('./PageLayout'),
|
||||
children: [
|
||||
{ path: 'overview', lazy: () => import('./overview') }
|
||||
]
|
||||
children: [{ path: 'overview', lazy: () => import('./overview') }]
|
||||
};
|
||||
|
||||
// Routes that render the explorer and don't need padding and stuff
|
||||
@@ -35,7 +33,7 @@ function loadTopBarRoutes() {
|
||||
return [
|
||||
...explorerRoutes,
|
||||
pageRoutes,
|
||||
{ path: 'settings', lazy: () => import('./settings/Layout'), children: settingsRoutes },
|
||||
{ path: 'settings', lazy: () => import('./settings/Layout'), children: settingsRoutes }
|
||||
];
|
||||
} else return [...explorerRoutes, pageRoutes];
|
||||
}
|
||||
|
||||
@@ -62,7 +62,7 @@ export const Component = () => {
|
||||
.strict(),
|
||||
reValidateMode: 'onChange',
|
||||
defaultValues: {
|
||||
name: node.data?.name,
|
||||
name: node.data?.name
|
||||
// image_labeler_version: node.data?.image_labeler_version ?? undefined
|
||||
// background_processing_percentage:
|
||||
// node.data?.preferences.thumbnailer.background_processing_percentage || 50
|
||||
|
||||
Reference in New Issue
Block a user