mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
fix(webapp): quick create item drawer
This commit is contained in:
@@ -4,9 +4,8 @@ import {
|
|||||||
DrawerHeaderContent,
|
DrawerHeaderContent,
|
||||||
DrawerBody,
|
DrawerBody,
|
||||||
FormattedMessage as T,
|
FormattedMessage as T,
|
||||||
Drawer,
|
|
||||||
} from '@/components';
|
} from '@/components';
|
||||||
|
import { DRAWERS } from '@/constants/drawers';
|
||||||
import QuickCreateItemDrawerForm from './QuickCreateItemDrawerForm';
|
import QuickCreateItemDrawerForm from './QuickCreateItemDrawerForm';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@@ -16,7 +15,7 @@ export default function QuickCreateItemDrawerContent({ itemName }) {
|
|||||||
return (
|
return (
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
<DrawerHeaderContent
|
<DrawerHeaderContent
|
||||||
name={DRAWER.QUICK_CREATE_ITEM}
|
name={DRAWERS.QUICK_CREATE_ITEM}
|
||||||
title={<T id={'create_a_new_item'} />}
|
title={<T id={'create_a_new_item'} />}
|
||||||
/>
|
/>
|
||||||
<DrawerBody>
|
<DrawerBody>
|
||||||
|
|||||||
Reference in New Issue
Block a user