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