Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 0 additions & 41 deletions web/src/layout/Header/TestnetBanner.tsx

This file was deleted.

6 changes: 1 addition & 5 deletions web/src/layout/Header/index.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
import React from "react";
import styled from "styled-components";

import { isProductionDeployment } from "consts/index";

import DesktopHeader from "./DesktopHeader";
import MobileHeader from "./MobileHeader";
import { TestnetBanner } from "./TestnetBanner";

const Container = styled.div`
position: sticky;
Expand All @@ -20,13 +17,12 @@ const Container = styled.div`

const HeaderContainer = styled.div`
width: 100%;
padding: 4px 24px 8px;
padding: 8px 24px;
`;

const Header: React.FC = () => {
return (
<Container>
{!isProductionDeployment() ? <TestnetBanner /> : null}
<HeaderContainer>
<DesktopHeader />
<MobileHeader />
Expand Down
Loading