Commit 676890d8 authored by Jordan Frankfurt's avatar Jordan Frankfurt Committed by GitHub

fix(L2): update downtime warning copy (#2114)

parent beb1bf3b
...@@ -3,6 +3,7 @@ import { SupportedChainId } from 'constants/chains' ...@@ -3,6 +3,7 @@ import { SupportedChainId } from 'constants/chains'
import { useActiveWeb3React } from 'hooks/web3' import { useActiveWeb3React } from 'hooks/web3'
import { AlertOctagon } from 'react-feather' import { AlertOctagon } from 'react-feather'
import styled from 'styled-components/macro' import styled from 'styled-components/macro'
import { ExternalLink } from 'theme'
const Root = styled.div` const Root = styled.div`
background-color: ${({ theme }) => theme.yellow3}; background-color: ${({ theme }) => theme.yellow3};
...@@ -30,7 +31,7 @@ const Body = styled.div` ...@@ -30,7 +31,7 @@ const Body = styled.div`
line-height: 15px; line-height: 15px;
margin: 8px 0 0 0; margin: 8px 0 0 0;
` `
const LinkOutToNotion = styled.a` const ReadMoreLink = styled(ExternalLink)`
color: black; color: black;
` `
...@@ -44,18 +45,15 @@ export default function OptimismDowntimeWarning() { ...@@ -44,18 +45,15 @@ export default function OptimismDowntimeWarning() {
<Root> <Root>
<TitleRow> <TitleRow>
<WarningIcon /> <WarningIcon />
<Trans>{'Optimism'} Scheduled Downtimes</Trans> <Trans>{'Optimism'} Scheduled Downtime</Trans>
</TitleRow> </TitleRow>
<Body> <Body>
<Trans> <Trans>
{'Optimism'} expects some scheduled downtime in the near future.&nbsp; {'Optimism'} expects scheduled downtime in the near future. Unplanned downtime may occur. While the network is
<LinkOutToNotion down fees will not be generated and you will be unable to remove liquidity.
href={`https://www.notion.so/Optimism-Regenesis-Schedule-8d14a34902ca4f5a8910762b3ec4b8da`} <ReadMoreLink href="https://help.uniswap.org/en/articles/5406082-what-happens-if-the-optimistic-ethereum-network-experiences-downtime">
target="_blank"
rel="noopener noreferrer"
>
Read more. Read more.
</LinkOutToNotion> </ReadMoreLink>
</Trans> </Trans>
</Body> </Body>
</Root> </Root>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment