Skip to content

Commit

Permalink
fix: edited warning messages
Browse files Browse the repository at this point in the history
  • Loading branch information
zachdt committed Sep 24, 2021
1 parent f271174 commit b8b9274
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 16 deletions.
13 changes: 4 additions & 9 deletions src/components/Layout/Layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,10 @@ const Layout: React.FC<PageProps> = (props) => {
<>
<TopBar loading={props.loading && active} />
<Banner>
<Link href="/reset">
<StyledA>
If you used Primitive between January and March 2021, you must reset
your approvals to prevent loss of funds. Click here to reset them!
</StyledA>
</Link>{' '}
<StyledA>
Primitive V1 is no longer supported by this interface. All deployed
options have expired. Please close your positions.
</StyledA>
</Banner>

<StyledPage>
Expand All @@ -68,9 +66,6 @@ const StyledA = styled.div`
cursor: pointer;
color: ${(props) => props.theme.color.white};
font-size: 14px;
&:hover {
color: ${(props) => props.theme.color.grey[400]};
}
`
interface StyledMainProps {
full?: boolean
Expand Down
7 changes: 0 additions & 7 deletions src/components/Market/MarketHeader/MarketHeader.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -149,13 +149,6 @@ const MarketHeader: React.FC<MarketHeaderProps> = ({ marketId, children }) => {
</StyledTitle>
</LitContainer>
<Spacer size="sm" />
{name === 'Wrapped ETH' ? (
<Banner round>
WETH markets now accept ETH for swaps and liquidity provision.
</Banner>
) : (
<></>
)}
<Reverse />
</StyledHeader>
)
Expand Down

0 comments on commit b8b9274

Please sign in to comment.