autoformat

This commit is contained in:
Vítor Vasconcellos
2024-10-19 08:20:18 -03:00
parent 124fe5b0b0
commit 99e52aed6d
2 changed files with 3 additions and 5 deletions

View File

@@ -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];
}

View File

@@ -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