Skip to content

Commit a578dff

Browse files
authored
🎨 Format and lint (#1243)
1 parent 7a4f98c commit a578dff

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

frontend/src/components/UserSettings/DeleteConfirmation.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { useMutation, useQueryClient } from "@tanstack/react-query"
1111
import React from "react"
1212
import { useForm } from "react-hook-form"
1313

14-
import { UsersService, type ApiError } from "../../client"
14+
import { type ApiError, UsersService } from "../../client"
1515
import useAuth from "../../hooks/useAuth"
1616
import useCustomToast from "../../hooks/useCustomToast"
1717

frontend/src/routes/__root.tsx

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,22 +6,20 @@ import NotFound from "../components/Common/NotFound"
66
const loadDevtools = () =>
77
Promise.all([
88
import("@tanstack/router-devtools"),
9-
import("@tanstack/react-query-devtools")
9+
import("@tanstack/react-query-devtools"),
1010
]).then(([routerDevtools, reactQueryDevtools]) => {
1111
return {
1212
default: () => (
1313
<>
1414
<routerDevtools.TanStackRouterDevtools />
1515
<reactQueryDevtools.ReactQueryDevtools />
1616
</>
17-
)
18-
};
19-
});
17+
),
18+
}
19+
})
2020

2121
const TanStackDevtools =
22-
process.env.NODE_ENV === "production"
23-
? () => null
24-
: React.lazy(loadDevtools);
22+
process.env.NODE_ENV === "production" ? () => null : React.lazy(loadDevtools)
2523

2624
export const Route = createRootRoute({
2725
component: () => (

0 commit comments

Comments
 (0)