diff --git a/apps/dashboard/knip.json b/apps/dashboard/knip.json
index e8e87be3055..fa8063169b0 100644
--- a/apps/dashboard/knip.json
+++ b/apps/dashboard/knip.json
@@ -1,7 +1,10 @@
{
"$schema": "https://unpkg.com/knip@5/schema.json",
"next": true,
- "ignore": ["src/@/components/ui/**"],
+ "ignore": [
+ "src/@/components/ui/**",
+ "src/components/notices/AnnouncementBanner.tsx"
+ ],
"project": ["src/**"],
"ignoreBinaries": ["only-allow", "biome"],
"ignoreDependencies": ["@storybook/blocks", "@thirdweb-dev/service-utils"]
diff --git a/apps/dashboard/src/app/layout.tsx b/apps/dashboard/src/app/layout.tsx
index ba3c8612d58..0b41c3148a5 100644
--- a/apps/dashboard/src/app/layout.tsx
+++ b/apps/dashboard/src/app/layout.tsx
@@ -7,7 +7,6 @@ import PlausibleProvider from "next-plausible";
import { Inter } from "next/font/google";
import NextTopLoader from "nextjs-toploader";
import { Suspense } from "react";
-import { UnlimitedWalletsBanner } from "../components/notices/AnnouncementBanner";
import { OpCreditsGrantedModalWrapperServer } from "../components/onboarding/OpCreditsGrantedModalWrapperServer";
import { EnsureValidConnectedWalletLoginServer } from "./components/EnsureValidConnectedWalletLogin/EnsureValidConnectedWalletLoginServer";
import { PostHogProvider } from "./components/root-providers";
@@ -72,7 +71,7 @@ export default function RootLayout({
fontSans.variable,
)}
>
-
+ {/* Banner goes here */}
{children}
diff --git a/apps/dashboard/src/components/notices/AnnouncementBanner.tsx b/apps/dashboard/src/components/notices/AnnouncementBanner.tsx
index c5cd7948f7a..97e7fd2d372 100644
--- a/apps/dashboard/src/components/notices/AnnouncementBanner.tsx
+++ b/apps/dashboard/src/components/notices/AnnouncementBanner.tsx
@@ -5,7 +5,7 @@ import { useLocalStorage } from "hooks/useLocalStorage";
import { ChevronRightIcon, XIcon } from "lucide-react";
import { useSelectedLayoutSegment } from "next/navigation";
-function AnnouncementBanner(props: {
+export function AnnouncementBanner(props: {
href: string;
label: string;
trackingLabel: string;
@@ -56,13 +56,3 @@ function AnnouncementBanner(props: {
);
}
-
-export function UnlimitedWalletsBanner() {
- return (
-
- );
-}
diff --git a/apps/dashboard/src/pages/_app.tsx b/apps/dashboard/src/pages/_app.tsx
index 14b148a2c2c..1af314236f0 100644
--- a/apps/dashboard/src/pages/_app.tsx
+++ b/apps/dashboard/src/pages/_app.tsx
@@ -22,7 +22,6 @@ import type { ThirdwebNextPage } from "utils/types";
import chakraTheme from "../theme";
import "@/styles/globals.css";
import { DashboardRouterTopProgressBar } from "@/lib/DashboardRouter";
-import { UnlimitedWalletsBanner } from "../components/notices/AnnouncementBanner";
const inter = interConstructor({
subsets: ["latin"],
@@ -260,7 +259,7 @@ const ConsoleApp = memo(function ConsoleApp({
/>
-
+ {/* Banner goes here */}