fix flags css import

This commit is contained in:
Agustín Longoni 2020-05-28 16:22:51 -03:00
parent 4065d5a007
commit c0dbfa0dbb
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>