Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove warning #102

Merged
merged 5 commits into from
Feb 17, 2020
Merged
Changes from 1 commit
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
Next Next commit
add warning;
  • Loading branch information
ianlapham committed Feb 12, 2020
commit 36351f23b895b58f1c95f542f3b30b83e0fa86e6
32 changes: 16 additions & 16 deletions src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,20 +13,20 @@ import { timeframeOptions } from './constants'
import { useAllExchanges } from './Data/GetAllExchanges'
import LocalLoader from './components/LocalLoader'

// const WarningWrapper = styled.div`
// width: 100%;
// display: flex;
// justify-content: center;
// `
const WarningWrapper = styled.div`
width: 100%;
display: flex;
justify-content: center;
`

// const WarningBanner = styled.div`
// background-color: #ff6871;
// padding: 1.5rem;
// color: white;
// width: 100%;
// text-align: center;
// font-weight: 500;
// `
const WarningBanner = styled.div`
background-color: #ff6871;
padding: 1.5rem;
color: white;
width: 100%;
text-align: center;
font-weight: 500;
`

function App(props) {
// set default time box to all time
Expand Down Expand Up @@ -75,12 +75,12 @@ function App(props) {
return (
<ApolloProvider client={client}>
<Wrapper>
{/* <WarningWrapper>
<WarningWrapper>
<WarningBanner>
Warning: The data on this site has not been updated since 01/04/20, 3:38pm UTC±00:00. Please check back
Warning: The data on this site has not been updated since 01/04/20, 4:01am UTC±00:00. Please check back
soon.
</WarningBanner>
</WarningWrapper> */}
</WarningWrapper>
<div style={{ position: 'relative' }}>
{globalData && uniswapHistory && length > 0 ? (
<BrowserRouter>
Expand Down