Refresh HiveGrid Cloud reference snapshot
This commit is contained in:
1 parent
5e99e14772
commit
7f88026f79
5955 files changed
+1177325
-188362
No files matched your search
@@ -12,6 +12,7 @@ import { getTranslations } from "~/locale/i18next.server";
|
||||
import { getHostRoutingContextFromRequest } from "~/utils/app/HostRouting.server";
|
||||
import { loadRequiredWebConfig } from "@hivegrid/config";
|
||||
import { absoluteAdminPath } from "~/utils/app/CrossHostUrls";
|
||||
import { useRedirectToast } from "~/hooks/use-save-toast";
|
||||
|
||||
export function isAdminRootPath(pathname: string) {
|
||||
const strippedPathname = UrlUtils.stripTrailingSlash(pathname);
|
||||
@@ -39,6 +40,8 @@ export const loader = withMetrics("admin-root", async ({ request, params }: Load
|
||||
});
|
||||
|
||||
export default function AdminRoute() {
|
||||
useRedirectToast();
|
||||
|
||||
useEffect(() => {
|
||||
try {
|
||||
// @ts-ignore
|
||||
|
||||
Reference in new issue
Block a user