From 10336a5ac60f6e2e4df7f1c6233f33d1032df617 Mon Sep 17 00:00:00 2001
From: Ayush Sharma
Date: Thu, 5 Dec 2024 13:28:38 +0530
Subject: [PATCH] chore: remove banner
---
pages/_document.js | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/pages/_document.js b/pages/_document.js
index eb0c168..0721e51 100644
--- a/pages/_document.js
+++ b/pages/_document.js
@@ -1,10 +1,6 @@
import { Head, Html, Main, NextScript } from "next/document";
-const promo_banner = [
- "Cyber Monday Madness Starts Now!",
- "Enjoy Up to 25% Off!",
- "Limited Time Offer till 4th December '24."
-];
+const promo_banner = [];
export default function Document() {
return (
@@ -12,7 +8,7 @@ export default function Document() {
{
- promo_banner && (
+ promo_banner && promo_banner.length > 0 && (