Skip to content

Commit be41e1d

Browse files
reeceyangConvex, Inc.
authored andcommitted
dashboard: remove node version banner (#42742)
GitOrigin-RevId: ed9c56b8bd7ff1664b9d521155c493294753fce5
1 parent 92818ca commit be41e1d

File tree

1 file changed

+1
-28
lines changed

1 file changed

+1
-28
lines changed

npm-packages/dashboard-common/src/layouts/DeploymentDashboardLayout.tsx

Lines changed: 1 addition & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -141,10 +141,7 @@ export function DeploymentDashboardLayout({
141141
<FunctionsProvider>
142142
<div className="flex h-full grow flex-col overflow-y-hidden">
143143
{(visiblePages === undefined || visiblePages.includes("settings")) && (
144-
<>
145-
<PauseBanner />
146-
<NodeVersionBanner />
147-
</>
144+
<PauseBanner />
148145
)}
149146
<div className="flex h-full flex-col overflow-y-auto sm:flex-row">
150147
{sidebarItems.length > 0 && (
@@ -219,30 +216,6 @@ function PauseBanner() {
219216
);
220217
}
221218

222-
function NodeVersionBanner() {
223-
const nodeVersion = useQuery(udfs.node.version);
224-
const usingNode18 = nodeVersion === "nodejs18.x";
225-
226-
if (usingNode18) {
227-
return (
228-
<div className="border-y bg-background-warning py-2 text-center text-xs text-content-warning">
229-
This deployment is using Node 18 and will be automatically upgraded to
230-
Node 20 on October 22, 2025. To manually configure the Node version,
231-
visit the{" "}
232-
<Link
233-
href="https://docs.convex.dev/production/project-configuration#configuring-the-nodejs-version"
234-
className="text-content-link hover:underline"
235-
>
236-
docs
237-
</Link>
238-
.
239-
</div>
240-
);
241-
}
242-
243-
return null;
244-
}
245-
246219
function EmbeddedConvexLogo({ collapsed }: { collapsed: boolean }) {
247220
const currentPage = useCurrentPage();
248221
const { deploymentName } = useIsCloudDeploymentInSelfHostedDashboard();

0 commit comments

Comments
 (0)