diff --git a/pkgs/ui/src/app/layout.tsx b/pkgs/ui/src/app/layout.tsx index 9681f368e..d3b210be7 100644 --- a/pkgs/ui/src/app/layout.tsx +++ b/pkgs/ui/src/app/layout.tsx @@ -105,7 +105,9 @@ export default function RootLayout({ {(appState) => { const showSidebarDerived = Boolean( - showSidebar && !appState.isLoading && appState.data.isJoined + showSidebar && + !appState.isLoading && + appState.data.isJoined, ); return ( <> diff --git a/pkgs/ui/src/components/background.tsx b/pkgs/ui/src/components/background.tsx index 288dba2bf..1eb8174b0 100644 --- a/pkgs/ui/src/components/background.tsx +++ b/pkgs/ui/src/components/background.tsx @@ -43,9 +43,3 @@ export default function Background() { ); } - -// position: fixed; -// height: 100vh; -// width: 100vw; -// overflow: hidden; -// z-index: -1; diff --git a/pkgs/ui/src/components/createMachineForm/customConfig.tsx b/pkgs/ui/src/components/createMachineForm/customConfig.tsx index 139b34fc4..3a03aee15 100644 --- a/pkgs/ui/src/components/createMachineForm/customConfig.tsx +++ b/pkgs/ui/src/components/createMachineForm/customConfig.tsx @@ -54,7 +54,7 @@ export function CustomConfig(props: FormStepContentProps) { } return acc; }, {}), - [schema] + [schema], ); return isLoading ? ( @@ -124,7 +124,7 @@ function PureCustomConfig(props: PureCustomConfigProps) { message: "invalid config", }); toast.error( - "Configuration is invalid. Please check the highlighted fields for details." + "Configuration is invalid. Please check the highlighted fields for details.", ); } else { formHooks.clearErrors("config"); diff --git a/pkgs/ui/src/components/hooks/useMachines.tsx b/pkgs/ui/src/components/hooks/useMachines.tsx index c8c11bd60..d15861866 100644 --- a/pkgs/ui/src/components/hooks/useMachines.tsx +++ b/pkgs/ui/src/components/hooks/useMachines.tsx @@ -62,7 +62,7 @@ export const MachineContextProvider = (props: MachineContextProviderProps) => { if (!isLoading && !error && !isValidating && rawData) { const { machines } = rawData.data; return machines.filter((m) => - filters.every((f) => m[f.name] === f.value) + filters.every((f) => m[f.name] === f.value), ); } return []; diff --git a/pkgs/ui/src/components/join/configureVM.tsx b/pkgs/ui/src/components/join/configureVM.tsx index fc591b99d..630cb5a7d 100644 --- a/pkgs/ui/src/components/join/configureVM.tsx +++ b/pkgs/ui/src/components/join/configureVM.tsx @@ -90,10 +90,14 @@ export const ConfigureVM = (props: VmDetailsProps) => { render={({ field }) => (