add contract pdf generation
This commit is contained in:
@@ -8,17 +8,17 @@ import { Forms } from "@/pages/Forms";
|
||||
import Dashboard from "@/pages/Dashboard";
|
||||
import Productors from "@/pages/Productors";
|
||||
import Products from "@/pages/Products";
|
||||
import Templates from "@/pages/Templates";
|
||||
import Users from "@/pages/Users";
|
||||
import Shipments from "./pages/Shipments";
|
||||
import { Contract } from "./pages/Contract";
|
||||
import { NotFound } from "./pages/NotFound";
|
||||
// import { CreateForms } from "@/pages/Forms/CreateForm";
|
||||
|
||||
export const router = createBrowserRouter([
|
||||
{
|
||||
path: "/",
|
||||
Component: Root,
|
||||
// errorElement: <NotFound />,
|
||||
errorElement: <NotFound />,
|
||||
children: [
|
||||
{ index: true, Component: Home },
|
||||
{ path: "/forms", Component: Forms },
|
||||
@@ -31,7 +31,7 @@ export const router = createBrowserRouter([
|
||||
{ path: "products", Component: Products },
|
||||
{ path: "products/create", Component: Products },
|
||||
{ path: "products/:id/edit", Component: Products },
|
||||
{ path: "templates", Component: Templates },
|
||||
// { path: "templates", Component: Templates },
|
||||
{ path: "users", Component: Users },
|
||||
{ path: "users/create", Component: Users },
|
||||
{ path: "users/:id/edit", Component: Users },
|
||||
|
||||
Reference in New Issue
Block a user