New amazing button for "Grant access"

This commit is contained in:
Aleksandr Pantiukhov 2018-10-27 16:28:29 +02:00 committed by Barry G
parent 6ea9b5caee
commit 608f1e9df7
2 changed files with 3 additions and 2 deletions

View File

@ -9,12 +9,13 @@ const DisplayLabel = styled.div`
`;
const DisplayBoxDiv = styled.div`
border: 1px solid #EEF2F5;
border: ${props => props.showBlueBox ? "0px" : "1px solid #EEF2F5"};
border-radius: 8px;
margin: 7px 12px 14px 12px;
display: flex;
flex-direction: column;
justify-content: space-around;
background: ${props => props.showBlueBox ? "rgba(67, 96, 223, 0.1)" : "white"};
align-items: ${props => props.showBlueBox ? "center" : "initial"};
word-wrap: break-word;
min-height: ${props => props.onClick ? "112px" : "0px"};

View File

@ -29,7 +29,7 @@ const isReady = (network, environment) => {
if (formattedNetwork.includes('main') || formattedNetwork.includes('live')) {
if (environment === 'livenet') return true
}
return formattedNetwork.inclues(environment.toLowerCase());
return formattedNetwork.includes(environment.toLowerCase());
}
const Web3RenderContent = ({ network, history, match, environment }) => (