mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
chrone: sperate client and server to different repos.
This commit is contained in:
20
src/containers/Customers/CustomerForm/CustomerFormPage.js
Normal file
20
src/containers/Customers/CustomerForm/CustomerFormPage.js
Normal file
@@ -0,0 +1,20 @@
|
||||
import React from 'react';
|
||||
import { useParams } from 'react-router-dom';
|
||||
|
||||
import { DashboardCard } from 'components';
|
||||
import CustomerForm from './CustomerForm';
|
||||
import { CustomerFormProvider } from './CustomerFormProvider';
|
||||
|
||||
import 'style/pages/Customers/PageForm.scss';
|
||||
|
||||
export default function CustomerFormPage() {
|
||||
const { id } = useParams();
|
||||
|
||||
return (
|
||||
<CustomerFormProvider customerId={id}>
|
||||
<DashboardCard page>
|
||||
<CustomerForm />
|
||||
</DashboardCard>
|
||||
</CustomerFormProvider>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user