diff --git a/ui/src/routeTree.gen.ts b/ui/src/routeTree.gen.ts index 4be1bc8..16ec80c 100644 --- a/ui/src/routeTree.gen.ts +++ b/ui/src/routeTree.gen.ts @@ -8,60 +8,60 @@ // This file is auto-generated by TanStack Router -import { createFileRoute } from '@tanstack/react-router' +import { createFileRoute } from "@tanstack/react-router"; // Import Routes -import { Route as rootRoute } from './routes/__root' +import { Route as rootRoute } from "./routes/__root"; // Create Virtual Routes -const TablesLazyImport = createFileRoute('/tables')() -const QueryLazyImport = createFileRoute('/query')() -const IndexLazyImport = createFileRoute('/')() +const TablesLazyImport = createFileRoute("/tables")(); +const QueryLazyImport = createFileRoute("/query")(); +const IndexLazyImport = createFileRoute("/")(); // Create/Update Routes const TablesLazyRoute = TablesLazyImport.update({ - path: '/tables', + path: "/tables", getParentRoute: () => rootRoute, -} as any).lazy(() => import('./routes/tables.lazy').then((d) => d.Route)) +} as any).lazy(() => import("./routes/tables.lazy").then((d) => d.Route)); const QueryLazyRoute = QueryLazyImport.update({ - path: '/query', + path: "/query", getParentRoute: () => rootRoute, -} as any).lazy(() => import('./routes/query.lazy').then((d) => d.Route)) +} as any).lazy(() => import("./routes/query.lazy").then((d) => d.Route)); const IndexLazyRoute = IndexLazyImport.update({ - path: '/', + path: "/", getParentRoute: () => rootRoute, -} as any).lazy(() => import('./routes/index.lazy').then((d) => d.Route)) +} as any).lazy(() => import("./routes/index.lazy").then((d) => d.Route)); // Populate the FileRoutesByPath interface -declare module '@tanstack/react-router' { +declare module "@tanstack/react-router" { interface FileRoutesByPath { - '/': { - id: '/' - path: '/' - fullPath: '/' - preLoaderRoute: typeof IndexLazyImport - parentRoute: typeof rootRoute - } - '/query': { - id: '/query' - path: '/query' - fullPath: '/query' - preLoaderRoute: typeof QueryLazyImport - parentRoute: typeof rootRoute - } - '/tables': { - id: '/tables' - path: '/tables' - fullPath: '/tables' - preLoaderRoute: typeof TablesLazyImport - parentRoute: typeof rootRoute - } + "/": { + id: "/"; + path: "/"; + fullPath: "/"; + preLoaderRoute: typeof IndexLazyImport; + parentRoute: typeof rootRoute; + }; + "/query": { + id: "/query"; + path: "/query"; + fullPath: "/query"; + preLoaderRoute: typeof QueryLazyImport; + parentRoute: typeof rootRoute; + }; + "/tables": { + id: "/tables"; + path: "/tables"; + fullPath: "/tables"; + preLoaderRoute: typeof TablesLazyImport; + parentRoute: typeof rootRoute; + }; } } @@ -71,7 +71,7 @@ export const routeTree = rootRoute.addChildren({ IndexLazyRoute, QueryLazyRoute, TablesLazyRoute, -}) +}); /* prettier-ignore-end */ diff --git a/ui/src/routes/index.lazy.tsx b/ui/src/routes/index.lazy.tsx index cf83f19..8bdae9c 100644 --- a/ui/src/routes/index.lazy.tsx +++ b/ui/src/routes/index.lazy.tsx @@ -190,7 +190,12 @@ export function TheBarChart({ counts }: TheBarChartProps) { fontSize={12} tickLine={false} axisLine={false} - tickFormatter={(number) => Intl.NumberFormat("en-US", {notation: "compact", maximumFractionDigits: 1}).format(number)} + tickFormatter={(number) => + Intl.NumberFormat("en-US", { + notation: "compact", + maximumFractionDigits: 1, + }).format(number) + } /> { acc[data.columns[i]] = curr; return acc; - }, {}) + }, {}), )} className="rdg-light" />