@hook-sdk/template 0.8.0 → 0.8.1
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.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1487,9 +1487,10 @@ function InstallGate({ children }) {
|
|
|
1487
1487
|
if (!enabled) return /* @__PURE__ */ jsx16(Fragment4, { children });
|
|
1488
1488
|
if (installState.isInstalled) return /* @__PURE__ */ jsx16(Fragment4, { children });
|
|
1489
1489
|
if (installState.variant === "desktop") {
|
|
1490
|
+
const showBanner = !installState.isDismissedSession && !installState.isDismissedPermanent;
|
|
1490
1491
|
return /* @__PURE__ */ jsxs10(Fragment4, { children: [
|
|
1491
1492
|
children,
|
|
1492
|
-
/* @__PURE__ */ jsx16(DesktopVariant, { state: installState, actions: installState })
|
|
1493
|
+
showBanner && /* @__PURE__ */ jsx16(DesktopVariant, { state: installState, actions: installState })
|
|
1493
1494
|
] });
|
|
1494
1495
|
}
|
|
1495
1496
|
if (!shouldBlock) return /* @__PURE__ */ jsx16(Fragment4, { children });
|