Fix PR feedback

Signed-off-by: soupette <cyril.lpz@gmail.com>
This commit is contained in:
soupette 2020-12-24 13:21:36 +01:00 committed by Convly
parent 1fc2ee567f
commit d8a57fe207

View File

@ -10,10 +10,10 @@ const Field = styled.div`
padding-top: 2px; padding-top: 2px;
border-radius: 2px; border-radius: 2px;
background-color: ${({ theme }) => theme.main.colors.mediumGrey}; background-color: ${({ theme }) => theme.main.colors.mediumGrey};
${({ error }) => ${({ error, theme }) =>
error && error &&
css` `
border: 1px solid ${({ theme }) => theme.main.colors.lightOrange}; border: 1px solid ${theme.main.colors.lightOrange};
`} `}
`; `;