import { createHashRouter, createRoutesFromElements, Route, } from 'react-router-dom'; import { Root } from '../shared/Root'; import { CatalogPage } from './CatalogPage'; import { ErrorPage } from '../shared/ErrorPage'; import { CategoryIndex } from './categories/CategoryIndex'; import { CategoryTreeCreate } from './categories/tree/CategoryTreeCreate'; import { CategoryTreeIndex } from './categories/tree/CategoryTreeIndex'; import { CategoryTreeShow } from './categories/tree/CategoryTreeShow'; import { CategoryUploadIndex } from './categories/uploads/CategoryUploadIndex'; import { CategoryUploadCreate } from './categories/uploads/CategoryUploadCreate'; import { CategoryUploadShow } from './categories/uploads/CategoryUploadShow'; import { PricesheetIndex } from './pricesheets/PricesheetIndex'; import { PricesheetUploadIndex } from './pricesheets/uploads/PricesheetUploadIndex'; import { PricesheetUploadCreate } from './pricesheets/uploads/PricesheetUploadCreate'; import { PricesheetUploadShow } from './pricesheets/uploads/PricesheetUploadShow'; import { ProductIndex } from './products/ProductIndex'; import { ProductUploadCreate } from './products/uploads/ProductUploadCreate'; import { ProductUploadShow } from './products/uploads/ProductUploadShow'; import { ProductUploadIndex } from './products/uploads/ProductUploadIndex'; import { CollectionIndex } from './collections/CollectionIndex'; import { ManufacturerIndex } from './manufacturers/ManufacturerIndex'; import { ManufacturerEdit } from './manufacturers/ManufacturerEdit'; import { ExportIndex } from './products/exports/ExportIndex'; import { InventoryUploadCreate } from './products/InventoryUploadCreate'; import { ExportCreate } from './products/exports/Create'; import { ProductUtilities } from './products/Utilities'; import { CategoryUtilities } from './categories/Utilities'; export const router = createHashRouter( createRoutesFromElements( } errorElement={}> }> }> }> } > }> }> } > }> }> }> }> }> }> }> }> } > }> } > }> }> }> }> }> } > } > ) );