Skip to content

Commit

Permalink
chore: format files
Browse files Browse the repository at this point in the history
  • Loading branch information
frectonz committed Jun 17, 2024
1 parent f45da6e commit b63db73
Show file tree
Hide file tree
Showing 3 changed files with 41 additions and 36 deletions.
68 changes: 34 additions & 34 deletions ui/src/routeTree.gen.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
};
}
}

Expand All @@ -71,7 +71,7 @@ export const routeTree = rootRoute.addChildren({
IndexLazyRoute,
QueryLazyRoute,
TablesLazyRoute,
})
});

/* prettier-ignore-end */

Expand Down
7 changes: 6 additions & 1 deletion ui/src/routes/index.lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
/>
<Bar
dataKey="count"
Expand Down
2 changes: 1 addition & 1 deletion ui/src/routes/query.lazy.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ function Query() {
row.reduce((acc, curr, i) => {
acc[data.columns[i]] = curr;
return acc;
}, {})
}, {}),
)}
className="rdg-light"
/>
Expand Down

0 comments on commit b63db73

Please sign in to comment.