mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-20 06:40:31 +00:00
feat: fix register page layout.
This commit is contained in:
@@ -9,12 +9,6 @@ export default [
|
||||
loader: () => import('containers/Authentication/Login'),
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/register`,
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/Register'),
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/send_reset_password`,
|
||||
component: LazyLoader({
|
||||
@@ -32,11 +26,5 @@ export default [
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/InviteAccept'),
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: `${BASE_URL}/wizard`,
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/RegisterWizardPage'),
|
||||
}),
|
||||
},
|
||||
}
|
||||
];
|
||||
|
||||
23
client/src/routes/register.js
Normal file
23
client/src/routes/register.js
Normal file
@@ -0,0 +1,23 @@
|
||||
import LazyLoader from 'components/LazyLoader';
|
||||
|
||||
export default [
|
||||
|
||||
{
|
||||
path: '/register/subscription',
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/Register/RegisterSubscriptionForm'),
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: '/register/organization',
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/Register/RegisterOrganizationForm'),
|
||||
}),
|
||||
},
|
||||
{
|
||||
path: `/`,
|
||||
component: LazyLoader({
|
||||
loader: () => import('containers/Authentication/Register/RegisterUserForm'),
|
||||
}),
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user