Browse Source

fixing PR issues

pull/644/head
Dan Ditomaso 1 year ago
parent
commit
0f1ea12ff9
  1. 2
      deno.json
  2. 1
      package.json
  3. 4
      src/components/UI/Dialog.tsx
  4. 59
      src/routeTree.gen.ts

2
deno.json

@ -46,7 +46,7 @@
"report": "pretty" "report": "pretty"
}, },
"exclude": [ "exclude": [
"*.gen.ts", "routeTree.gen.ts",
"node_modules/", "node_modules/",
"dist", "dist",
"build", "build",

1
package.json

@ -13,6 +13,7 @@
"dev": "deno task dev:ui", "dev": "deno task dev:ui",
"dev:ui": "VITE_APP_VERSION=development deno run -A npm:vite dev", "dev:ui": "VITE_APP_VERSION=development deno run -A npm:vite dev",
"test": "deno run -A npm:vitest", "test": "deno run -A npm:vitest",
"check": "deno check",
"preview": "deno run -A npm:vite preview", "preview": "deno run -A npm:vite preview",
"package": "gzipper c -i html,js,css,png,ico,svg,webmanifest,txt dist dist/output && tar -cvf dist/build.tar -C ./dist/output/ ." "package": "gzipper c -i html,js,css,png,ico,svg,webmanifest,txt dist dist/output && tar -cvf dist/build.tar -C ./dist/output/ ."
}, },

4
src/components/UI/Dialog.tsx

@ -58,9 +58,7 @@ DialogContent.displayName = DialogPrimitive.Content.displayName;
const DialogClose = ({ const DialogClose = ({
className, className,
...props ...props
}: DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement> & { }: React.ComponentPropsWithoutRef<typeof DialogPrimitive.Close>) => (
className?: string;
}) => (
<DialogPrimitive.Close <DialogPrimitive.Close
aria-label="Close" aria-label="Close"
data-testid="dialog-close-button" data-testid="dialog-close-button"

59
src/routeTree.gen.ts

@ -1,59 +0,0 @@
/* eslint-disable */
// @ts-nocheck: // This file is generated and should not be type-checked by TypeScript.
// noinspection JSUnusedGlobalSymbols
// This file was automatically generated by TanStack Router.
// You should NOT make any changes in this file as it will be overwritten.
// Additionally, you should also exclude this file from your linter and/or formatter to prevent it from being checked or modified.
// Import Routes
import { Route as rootRoute } from "./routes/__root";
// Create/Update Routes
// Populate the FileRoutesByPath interface
declare module "@tanstack/react-router" {
interface FileRoutesByPath {}
}
// Create and export the route tree
export interface FileRoutesByFullPath {}
export interface FileRoutesByTo {}
export interface FileRoutesById {
__root__: typeof rootRoute;
}
export interface FileRouteTypes {
fileRoutesByFullPath: FileRoutesByFullPath;
fullPaths: never;
fileRoutesByTo: FileRoutesByTo;
to: never;
id: "__root__";
fileRoutesById: FileRoutesById;
}
export interface RootRouteChildren {}
const rootRouteChildren: RootRouteChildren = {};
export const routeTree = rootRoute
._addFileChildren(rootRouteChildren)
._addFileTypes<FileRouteTypes>();
/* ROUTE_MANIFEST_START
{
"routes": {
"__root__": {
"filePath": "__root.tsx",
"children": []
}
}
}
ROUTE_MANIFEST_END */
Loading…
Cancel
Save