From e8784946ae255b2b89e01eaf0e257b8e30af9004 Mon Sep 17 00:00:00 2001
From: trashtemp <96388163+trashtemp@users.noreply.github.com>
Date: Tue, 28 Dec 2021 20:43:42 +0100
Subject: [PATCH] chore(header): deprecated old header code
---
src/components/common/ServerHeader.tsx | 156 ++++++++-----------------
1 file changed, 46 insertions(+), 110 deletions(-)
diff --git a/src/components/common/ServerHeader.tsx b/src/components/common/ServerHeader.tsx
index 9484baa9..9b5381a6 100644
--- a/src/components/common/ServerHeader.tsx
+++ b/src/components/common/ServerHeader.tsx
@@ -85,59 +85,53 @@ export default observer(({ server }: Props) => {
background: bannerURL ? `url('${bannerURL}')` : undefined,
}}>
-
- {server.flags && server.flags & 1 ? (
-
- }
- placement={"bottom-start"}>
-
+
+
+
+ ) : undefined}
{server.name}
{(server.permission & ServerPermission.ManageServer) > 0 && (
@@ -150,63 +144,5 @@ export default observer(({ server }: Props) => {
)}
- /*
- {server.flags && server.flags & 1 ? (
- }
- placement={"bottom-start"}>
-
-
-
-
-
- ) : undefined}
- {server.flags && server.flags & 2 ? (
- }
- placement={"bottom-start"}>
-
-
-
-
-
-
-
- ) : undefined}
-
- {server.name}
- {(server.permission & ServerPermission.ManageServer) > 0 && (
-
-
-
-
-
-
-
- )}
- */
);
});