2023-07-10 13:51:15 +00:00
|
|
|
import React from "react";
|
|
|
|
|
import PageLoadingBar from "pages/common/PageLoadingBar";
|
|
|
|
|
import { retryPromise } from "utils/AppsmithUtils";
|
|
|
|
|
|
2023-10-09 13:54:06 +00:00
|
|
|
const Page = React.lazy(async () =>
|
2023-07-10 13:51:15 +00:00
|
|
|
retryPromise(
|
2023-10-09 13:54:06 +00:00
|
|
|
async () =>
|
2023-08-28 15:37:32 +00:00
|
|
|
import(/* webpackChunkName: "settings" */ "pages/AdminSettings/index"),
|
2023-07-10 13:51:15 +00:00
|
|
|
),
|
|
|
|
|
);
|
|
|
|
|
|
2024-07-31 15:41:28 +00:00
|
|
|
// TODO: Fix this the next time the file is edited
|
|
|
|
|
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
2023-07-10 13:51:15 +00:00
|
|
|
const AdminSettingsLoader = (props: any) => {
|
|
|
|
|
return (
|
|
|
|
|
<React.Suspense fallback={<PageLoadingBar />}>
|
|
|
|
|
<Page {...props} />
|
|
|
|
|
</React.Suspense>
|
|
|
|
|
);
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
export default AdminSettingsLoader;
|