Skip to content

Commit c5f9cfa

Browse files
committed
remove notif bar as switched to vercel for api server
1 parent ee536e2 commit c5f9cfa

File tree

3 files changed

+0
-30
lines changed

3 files changed

+0
-30
lines changed

src/Components/Layout/MainLayout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@ import React, { useEffect } from "react";
22
import { Outlet, useLocation } from "react-router-dom";
33
import Header from "@/Components/Header";
44
import Footer from "@/Components/Footer";
5-
import NotificationBar from "@/pages/HomePage/NotificationBar";
65

76
export default function MainLayout() {
87
return (
98
<>
109
<ScrollToTop />
1110
<div className="relative mx-auto px-2 sm:px-3 w-full max-w-[1300px] box-border">
12-
<NotificationBar />
1311
<Header />
1412
</div>
1513

src/Components/Layout/MapLayout.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import React from "react";
22
import { Outlet } from "react-router-dom";
33
import Header from "@/Components/Header";
4-
import NotificationBar from "@/pages/HomePage/NotificationBar";
54
import { APIProvider } from "@vis.gl/react-google-maps";
65

76
const GOOGLE_MAPS_API_KEY = import.meta.env.VITE_GOOGLE_MAP_API_KEY;
@@ -15,7 +14,6 @@ function MapLayout() {
1514
return (
1615
<div className="flex flex-col h-screen">
1716
<div className="relative mx-auto px-2 sm:px-3 w-full max-w-[1300px] box-border">
18-
<NotificationBar />
1917
<Header withBanner={false} />
2018
</div>
2119

src/pages/HomePage/NotificationBar.tsx

Lines changed: 0 additions & 26 deletions
This file was deleted.

0 commit comments

Comments
 (0)