Skip to content

Commit b837ec7

Browse files
chore(web): remove-testnet-banner
1 parent 8efa874 commit b837ec7

File tree

2 files changed

+1
-46
lines changed

2 files changed

+1
-46
lines changed

web/src/layout/Header/TestnetBanner.tsx

-41
This file was deleted.

web/src/layout/Header/index.tsx

+1-5
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,8 @@
11
import React from "react";
22
import styled from "styled-components";
33

4-
import { isProductionDeployment } from "consts/index";
5-
64
import DesktopHeader from "./DesktopHeader";
75
import MobileHeader from "./MobileHeader";
8-
import { TestnetBanner } from "./TestnetBanner";
96

107
const Container = styled.div`
118
position: sticky;
@@ -20,13 +17,12 @@ const Container = styled.div`
2017

2118
const HeaderContainer = styled.div`
2219
width: 100%;
23-
padding: 4px 24px 8px;
20+
padding: 8px 24px;
2421
`;
2522

2623
const Header: React.FC = () => {
2724
return (
2825
<Container>
29-
{!isProductionDeployment() ? <TestnetBanner /> : null}
3026
<HeaderContainer>
3127
<DesktopHeader />
3228
<MobileHeader />

0 commit comments

Comments
 (0)