@lincros-ui/components 0.2.4 → 0.2.5
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 +6 -3
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5207,7 +5207,8 @@ function MainLayout({
|
|
|
5207
5207
|
currentTime,
|
|
5208
5208
|
appName,
|
|
5209
5209
|
appSubtitle,
|
|
5210
|
-
logoUrl
|
|
5210
|
+
logoUrl,
|
|
5211
|
+
faviconUrl
|
|
5211
5212
|
}) {
|
|
5212
5213
|
return /* @__PURE__ */ jsx(SidebarProvider, { children: /* @__PURE__ */ jsxs("div", { className: "h-screen w-full flex", children: [
|
|
5213
5214
|
/* @__PURE__ */ jsx(
|
|
@@ -5220,13 +5221,14 @@ function MainLayout({
|
|
|
5220
5221
|
currentTime,
|
|
5221
5222
|
appName,
|
|
5222
5223
|
appSubtitle,
|
|
5223
|
-
logoUrl
|
|
5224
|
+
logoUrl,
|
|
5225
|
+
faviconUrl
|
|
5224
5226
|
}
|
|
5225
5227
|
),
|
|
5226
5228
|
/* @__PURE__ */ jsx("main", { className: "flex-1 overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "h-full overflow-y-auto", children }) })
|
|
5227
5229
|
] }) });
|
|
5228
5230
|
}
|
|
5229
|
-
function ProtectedRoute({ children, useAuthContext, tenantId, useSSO, routePaths, useTenant, tenantService, appName, appSubtitle, logoUrl }) {
|
|
5231
|
+
function ProtectedRoute({ children, useAuthContext, tenantId, useSSO, routePaths, useTenant, tenantService, appName, appSubtitle, logoUrl, faviconUrl }) {
|
|
5230
5232
|
const { isAuthenticated, isLoading, logout, user, getCurrentTenantId } = useAuthContext();
|
|
5231
5233
|
const location = useLocation();
|
|
5232
5234
|
const sso = useSSO(tenantId || void 0);
|
|
@@ -5269,6 +5271,7 @@ function ProtectedRoute({ children, useAuthContext, tenantId, useSSO, routePaths
|
|
|
5269
5271
|
appName,
|
|
5270
5272
|
appSubtitle,
|
|
5271
5273
|
logoUrl,
|
|
5274
|
+
faviconUrl,
|
|
5272
5275
|
children: /* @__PURE__ */ jsx(EnsureTenant, { useTenant, tenantService, children })
|
|
5273
5276
|
}
|
|
5274
5277
|
);
|