Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
u4aew committed Dec 30, 2023
1 parent a7d9c6a commit aae5ce7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions packages/host/src/components/Nav/Nav.tsx
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
import React from 'react';
import { Menu } from 'antd';
import {
UploadOutlined,
UserOutlined,
VideoCameraOutlined,
CreditCardOutlined,
TransactionOutlined,
} from '@ant-design/icons';
import { useNavigate } from 'react-router-dom';

Expand All @@ -28,12 +28,12 @@ const Nav = (): JSX.Element => {
},
{
key: '/cards',
icon: <VideoCameraOutlined />,
icon: <CreditCardOutlined />,
label: 'Cards',
},
{
key: '/transactions',
icon: <UploadOutlined />,
icon: <TransactionOutlined />,
label: 'Transactions',
},
]}
Expand Down
2 changes: 1 addition & 1 deletion packages/host/src/layouts/MainLayout/MainLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export const MainLayout = ({ children }) => {
<b>NAME</b>: {user?.name}
<Select
defaultValue={user?.role}
style={{ width: 120, marginLeft: 10 }}
style={{ width: 110, marginLeft: 10, textAlign: 'left' }}
onChange={handleRoleChange}
>
<Option value="MANAGER">Manager</Option>
Expand Down

0 comments on commit aae5ce7

Please sign in to comment.