19 lines
519 B
TypeScript
19 lines
519 B
TypeScript
import React from 'react'
|
|
import { createFileRoute } from '@tanstack/react-router'
|
|
import { AppContainer } from 'web-components'
|
|
import ProductGroupForm from '../components/ProductGroupForm'
|
|
|
|
export const Route = createFileRoute('/dashboard/product-groupings/new')({
|
|
component: CreateProductGroup,
|
|
})
|
|
|
|
function CreateProductGroup() {
|
|
return (
|
|
<AppContainer>
|
|
<ProductGroupForm
|
|
onClose={() => window.history.back()}
|
|
onSuccess={() => window.history.back()}
|
|
/>
|
|
</AppContainer>
|
|
)
|
|
}
|