feat: completing sub categories

This commit is contained in:
2021-12-16 20:31:59 +07:00
parent 1cb4ad5e09
commit d41681c217
5 changed files with 210 additions and 192 deletions

View File

@@ -65,18 +65,15 @@ export const Category = observer(() => {
marginBottom: store.ui.mediaQuery.isMobile ? 10 : 0,
}}
/>
<Button onClick={() => (store.category.visibleModalCategory = true)}>
<Button
onClick={() => (store.category.visibleModalCategory = true)}
>
<PlusSquareOutlined /> New
</Button>
</Col>
</Row>
<Tabs onChange={handleChangeTabPane} size="default" tabBarGutter="50">
<TabPane tab="Category" key="1">
<CategoryComponent/>
</TabPane>
))
</Tabs>
<CategoryComponent />
</Card>
</div>
);