Merge pull request #968 from gnosis/issue-964

(Fix) Flags css import
This commit is contained in:
Agustín Longoni 2020-05-29 08:32:10 -03:00 committed by GitHub
commit 4ddffaab76
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 4 deletions

View File

@ -6,7 +6,7 @@ import MenuItem from '@material-ui/core/MenuItem'
import { MuiThemeProvider } from '@material-ui/core/styles'
import SearchIcon from '@material-ui/icons/Search'
import classNames from 'classnames'
import style from 'currency-flags/dist/currency-flags.min.css'
import 'currency-flags/dist/currency-flags.min.css'
import React, { useState } from 'react'
import { useDispatch, useSelector } from 'react-redux'
@ -99,9 +99,9 @@ const CurrencyDropdown = () => {
<div
className={classNames(
classes.localFlag,
style['currency-flag'],
style['currency-flag-lg'],
style[`currency-flag-${currencyName.toLowerCase()}`],
'currency-flag',
'currency-flag-lg',
`currency-flag-${currencyName.toLowerCase()}`,
)}
/>
</ListItemIcon>