Skip to content

Commit 5755fa8

Browse files
committed
chore: correct logic for adding messages based on isAddingDisabled state
1 parent c25e351 commit 5755fa8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/app/(chat)/mcp/page.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export default async function Page() {
88
const t = await getTranslations("Info");
99
let message: string | undefined;
1010

11-
if (!isAddingDisabled) {
11+
if (isAddingDisabled) {
1212
message = t("mcpAddingDisabled");
1313
} else if (IS_VERCEL_ENV) {
1414
message = t("vercelSyncDelay");

0 commit comments

Comments
 (0)