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

@@ -10,9 +10,10 @@ import ItemForm from 'containers/Items/ItemForm';
*/
export default function ItemFormPage() {
const { id } = useParams();
const idInteger = parseInt(id, 10);
return (
<ItemFormProvider itemId={id}>
<ItemFormProvider itemId={idInteger}>
<DashboardCard page>
<ItemForm />
</DashboardCard>

View File

@@ -146,8 +146,6 @@ export const ItemsActionsTableCell = (props) => {
* Retrieve all items table columns.
*/
export const useItemsTableColumns = () => {
return React.useMemo(
() => [
{