-
@@ -99,13 +100,17 @@ function AsideButtonsJSX() {
function LayoutJSX({ children }: { children: React.ReactNode }) {
const { breakHeighPoint } = useWindowDimensions();
+ const { isLoading } = useUser();
return (
<>
-
- {children}
-
+ {!isLoading ?
+
+ {children}
+ :
+
+ }
>
diff --git a/web/app/utils/api/generateSchedule.ts b/web/app/utils/api/generateSchedule.ts
index 73c72b6..d2353c1 100644
--- a/web/app/utils/api/generateSchedule.ts
+++ b/web/app/utils/api/generateSchedule.ts
@@ -1,7 +1,7 @@
import request from '../request';
import { settings } from '../settings';
-type EachFieldNumber = 1 | 2 | 3;
+export type EachFieldNumber = 1 | 2 | 3;
type PreferenceType = [EachFieldNumber, EachFieldNumber, EachFieldNumber];
//Promise
>