Web: Fixed Confirm page background on loading
This commit is contained in:
parent
26b1de6d97
commit
ba3225daeb
@ -26,7 +26,7 @@ const Confirm = ({ match }) => {
|
||||
//console.log("Confirm render");
|
||||
const path = match.path;
|
||||
return (
|
||||
<ConfirmWrapper>
|
||||
<>
|
||||
<Switch>
|
||||
<ConfirmRoute
|
||||
forUnauthorized
|
||||
@ -93,7 +93,7 @@ const Confirm = ({ match }) => {
|
||||
|
||||
{/* <Route component={Error404} /> */}
|
||||
</Switch>
|
||||
</ConfirmWrapper>
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
|
@ -3,6 +3,7 @@ import { observer, inject } from "mobx-react";
|
||||
import Loader from "@docspace/components/loader";
|
||||
import axios from "axios";
|
||||
import { combineUrl } from "@docspace/common/utils";
|
||||
import ConfirmWrapper from "./ConfirmWrapper";
|
||||
|
||||
let loadTimeout = null;
|
||||
export default function withLoader(WrappedComponent) {
|
||||
@ -112,7 +113,9 @@ export default function withLoader(WrappedComponent) {
|
||||
return !isLoaded || !tReady ? (
|
||||
<Loader className="pageLoader" type="rombs" size="40px" />
|
||||
) : (
|
||||
<WrappedComponent {...props} />
|
||||
<ConfirmWrapper>
|
||||
<WrappedComponent {...props} />
|
||||
</ConfirmWrapper>
|
||||
);
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user