mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 05:10:31 +00:00
15 lines
291 B
JavaScript
15 lines
291 B
JavaScript
import React from 'react';
|
|
import { useParams } from 'react-router-dom';
|
|
|
|
import ItemForm from './ItemForm';
|
|
|
|
/**
|
|
* Item form page.
|
|
*/
|
|
export default function ItemFormPage() {
|
|
const { id } = useParams();
|
|
const idInteger = parseInt(id, 10);
|
|
|
|
return <ItemForm itemId={idInteger} />;
|
|
}
|