mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 14:50:32 +00:00
feat: fix register page layout.
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import React from 'react';
|
||||
import { Route, Switch } from 'react-router-dom';
|
||||
import RegisterWizardSteps from './RegisterWizardSteps';
|
||||
import registerRoutes from 'routes/register';
|
||||
|
||||
export default function RegisterRightSection () {
|
||||
|
||||
return (
|
||||
<section className={'register-page__right-section'}>
|
||||
<RegisterWizardSteps />
|
||||
|
||||
<div class="register-page-form">
|
||||
<Switch>
|
||||
{ registerRoutes.map((route, index) => (
|
||||
<Route
|
||||
exact={route.exact}
|
||||
key={index}
|
||||
path={`${route.path}`}
|
||||
component={route.component}
|
||||
/>
|
||||
)) }
|
||||
</Switch>
|
||||
</div>
|
||||
</section>
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user