fix(agency): resolve unused imports and wire workspace slug dynamically into Agency Command Center sidebar
This commit is contained in:
@@ -1,7 +1,6 @@
|
||||
"use client";
|
||||
|
||||
import React, { useState } from "react";
|
||||
import Link from "next/link";
|
||||
import { useParams } from "next/navigation";
|
||||
|
||||
// Minimal SVG Icons
|
||||
@@ -290,9 +289,10 @@ export default function AgencyDashboard() {
|
||||
placeItems: "center",
|
||||
fontWeight: 700,
|
||||
fontSize: "12px",
|
||||
textTransform: "uppercase",
|
||||
}}
|
||||
>
|
||||
A
|
||||
{typeof workspace === "string" ? workspace.charAt(0) : "A"}
|
||||
</div>
|
||||
<div style={{ display: "flex", flexDirection: "column" }}>
|
||||
<span
|
||||
@@ -301,9 +301,12 @@ export default function AgencyDashboard() {
|
||||
fontWeight: 600,
|
||||
color: "#1a1a1a",
|
||||
lineHeight: 1.2,
|
||||
textTransform: "capitalize",
|
||||
}}
|
||||
>
|
||||
Atlas Agency
|
||||
{typeof workspace === "string"
|
||||
? workspace.replace(/-/g, " ")
|
||||
: "Atlas Agency"}
|
||||
</span>
|
||||
<span style={{ fontSize: "12px", color: "#6b6560" }}>
|
||||
Pro · 2 members
|
||||
|
||||
Reference in New Issue
Block a user