From b3bc6029c6a203ba0b5b7f0b3407c2316be3de49 Mon Sep 17 00:00:00 2001
From: "cubic-dev-ai[bot]" <1082092+cubic-dev-ai[bot]@users.noreply.github.com>
Date: Sat, 17 Jan 2026 19:21:11 +0000
Subject: [PATCH] fix: use dynamic slug for SEO canonical URL on workspace
pages
---
src/app/dashboard/[slug]/page.tsx | 15 ++++++++++++---
1 file changed, 12 insertions(+), 3 deletions(-)
diff --git a/src/app/dashboard/[slug]/page.tsx b/src/app/dashboard/[slug]/page.tsx
index 90f95f36..37edcb48 100644
--- a/src/app/dashboard/[slug]/page.tsx
+++ b/src/app/dashboard/[slug]/page.tsx
@@ -3,17 +3,26 @@
* Renders the dashboard shell for an active workspace.
*/
import { SEO } from "@/components/seo/SEO";
+import { seoConfig } from "@/lib/seo-config";
import { DashboardShell } from "../page";
-export default function WorkspacePage() {
+interface WorkspacePageProps {
+ params: Promise<{ slug: string }>;
+}
+
+export default async function WorkspacePage({ params }: WorkspacePageProps) {
+ const { slug } = await params;
+ const workspaceUrl = `${seoConfig.siteUrl}/dashboard/${slug}`;
+
return (
<>
>