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

View File

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