🚧 New version popup

This commit is contained in:
Fred KISSIE
2025-11-05 06:55:08 +01:00
parent a26a441d56
commit 2f1abfbef8
7 changed files with 247 additions and 17 deletions

View File

@@ -32,7 +32,11 @@ import {
import { build } from "@server/build";
import SidebarLicenseButton from "./SidebarLicenseButton";
import { SidebarSupportButton } from "./SidebarSupportButton";
import ProductUpdates from "./ProductUpdates";
import dynamic from "next/dynamic";
const ProductUpdates = dynamic(() => import("./ProductUpdates"), {
ssr: false
});
interface LayoutSidebarProps {
orgId?: string;
@@ -135,9 +139,7 @@ export function LayoutSidebar({
</div>
<div className="p-4 flex flex-col gap-4 shrink-0">
<div className="mb-3">
<ProductUpdates />
</div>
<ProductUpdates />
{build === "enterprise" && (
<div className="mb-3">