@optifye/dashboard-core 6.10.48 → 6.10.49
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.js +1 -4
- package/dist/index.mjs +1 -4
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -28553,10 +28553,7 @@ function withAccessControl(WrappedComponent2, options = {}) {
|
|
|
28553
28553
|
};
|
|
28554
28554
|
const pathToCheck = requiredPath || router$1.asPath || router$1.pathname;
|
|
28555
28555
|
if (authLoading) {
|
|
28556
|
-
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-screen
|
|
28557
|
-
/* @__PURE__ */ jsxRuntime.jsx("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600 mx-auto mb-4" }),
|
|
28558
|
-
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-gray-600", children: "Loading..." })
|
|
28559
|
-
] }) });
|
|
28556
|
+
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex min-h-screen items-center justify-center bg-slate-50", children: /* @__PURE__ */ jsxRuntime.jsx(OptifyeLogoLoader_default, { size: "lg", message: "Loading Dashboard..." }) });
|
|
28560
28557
|
}
|
|
28561
28558
|
if (!user) {
|
|
28562
28559
|
return /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-screen w-full items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: "text-center", children: /* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-gray-600 mb-4", children: "Please log in to continue" }) }) });
|
package/dist/index.mjs
CHANGED
|
@@ -28524,10 +28524,7 @@ function withAccessControl(WrappedComponent2, options = {}) {
|
|
|
28524
28524
|
};
|
|
28525
28525
|
const pathToCheck = requiredPath || router.asPath || router.pathname;
|
|
28526
28526
|
if (authLoading) {
|
|
28527
|
-
return /* @__PURE__ */ jsx("div", { className: "flex h-screen
|
|
28528
|
-
/* @__PURE__ */ jsx("div", { className: "animate-spin rounded-full h-8 w-8 border-b-2 border-blue-600 mx-auto mb-4" }),
|
|
28529
|
-
/* @__PURE__ */ jsx("p", { className: "text-gray-600", children: "Loading..." })
|
|
28530
|
-
] }) });
|
|
28527
|
+
return /* @__PURE__ */ jsx("div", { className: "flex min-h-screen items-center justify-center bg-slate-50", children: /* @__PURE__ */ jsx(OptifyeLogoLoader_default, { size: "lg", message: "Loading Dashboard..." }) });
|
|
28531
28528
|
}
|
|
28532
28529
|
if (!user) {
|
|
28533
28530
|
return /* @__PURE__ */ jsx("div", { className: "flex h-screen w-full items-center justify-center", children: /* @__PURE__ */ jsx("div", { className: "text-center", children: /* @__PURE__ */ jsx("p", { className: "text-gray-600 mb-4", children: "Please log in to continue" }) }) });
|