feat: arabic localization.

This commit is contained in:
a.bouhuolia
2021-08-03 11:02:03 +02:00
parent d1d20e9cb5
commit 15bc34d866
19 changed files with 185 additions and 89 deletions

View File

@@ -11,9 +11,10 @@ import { InvoiceFormProvider } from './InvoiceFormProvider';
*/
export default function InvoiceFormPage() {
const { id } = useParams();
const idAsInteger = parseInt(id, 10);
return (
<InvoiceFormProvider invoiceId={id}>
<InvoiceFormProvider invoiceId={idAsInteger}>
<InvoiceForm />
</InvoiceFormProvider>
);