mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 21:00:31 +00:00
21 lines
495 B
JavaScript
21 lines
495 B
JavaScript
import React from 'react';
|
|
import { useParams } from 'react-router-dom';
|
|
|
|
import 'style/pages/SaleEstimate/PageForm.scss';
|
|
|
|
import EstimateForm from './EstimateForm';
|
|
import { EstimateFormProvider } from './EstimateFormProvider';
|
|
|
|
/**
|
|
* Estimate form page.
|
|
*/
|
|
export default function EstimateFormPage() {
|
|
const { id } = useParams();
|
|
const idInteger = parseInt(id, 10);
|
|
|
|
return (
|
|
<EstimateFormProvider estimateId={idInteger}>
|
|
<EstimateForm />
|
|
</EstimateFormProvider>
|
|
);
|
|
} |