feat: Oauth update
This commit is contained in:
@@ -33,7 +33,7 @@ const routes: RouteObject[] = [
|
||||
},
|
||||
{
|
||||
path: "/loading",
|
||||
Component: (props) => ComponentLoading(Loading, props),
|
||||
Component: Loading,
|
||||
},
|
||||
];
|
||||
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
import { lazy } from 'react'
|
||||
/** @format */
|
||||
|
||||
import { lazy } from "react";
|
||||
|
||||
const main = lazy(
|
||||
() =>
|
||||
new Promise((resolve: any) => {
|
||||
setTimeout(() => resolve(import('@/views/Main')), 1000)
|
||||
}),
|
||||
)
|
||||
export default main
|
||||
() =>
|
||||
new Promise((resolve: any) => {
|
||||
setTimeout(() => resolve(import("@/views/Main")), 1000);
|
||||
}),
|
||||
);
|
||||
export default main;
|
||||
|
||||
Reference in New Issue
Block a user