Skip to content

Commit

Permalink
style: format code with Prettier and StandardJS
Browse files Browse the repository at this point in the history
This commit fixes the style issues introduced in 8d9d256 according to the output
from Prettier and StandardJS.

Details: None
  • Loading branch information
deepsource-autofix[bot] authored Jul 8, 2024
1 parent 8d9d256 commit 510505f
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pages/dashboard/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const Dashboard = () => {
const navigate = useNavigate()
// const navigateType = useNavigationType()
const {
token: { colorBgContainer },
token: { colorBgContainer }
} = theme.useToken()

return (
Expand All @@ -20,16 +20,16 @@ const Dashboard = () => {
<Content style={{ height: '100%', background: colorBgContainer }}>
<Routes>
<Route
path="/"
path='/'
element={
<>
{/* <h2>Look, more routes!</h2> */}
{/* <h2>Navigate type: {navigateType}</h2> */}
<Space>
<Button type="primary" onClick={() => navigate('/')}>
<Button type='primary' onClick={() => navigate('/')}>
Navigate /
</Button>
<Button type="primary" onClick={() => navigate('invoices')}>
<Button type='primary' onClick={() => navigate('invoices')}>
navigate to invoices
</Button>
</Space>
Expand All @@ -38,10 +38,10 @@ const Dashboard = () => {
}
/>
<Route
path="invoices"
path='invoices'
element={
<>
<Button type="primary" onClick={() => navigate(-1)}>
<Button type='primary' onClick={() => navigate(-1)}>
navigate to dashborad
</Button>
</>
Expand Down

0 comments on commit 510505f

Please sign in to comment.