Skip to content

Commit

Permalink
Fix review issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Bruno Dias committed Jan 29, 2019
1 parent 692e55b commit 86dd652
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions react/TotalProducts.js
Original file line number Diff line number Diff line change
@@ -1,21 +1,16 @@
import { FormattedMessage } from 'react-intl'
import React, { Fragment } from 'react'
import React from 'react'
import PropTypes from 'prop-types'

import searchResult from './searchResult.css'

const TotalProducts = ({ recordsFiltered }) => {
return (
<Fragment>
<div className={`${searchResult.totalProducts} pv5 bn-ns bt-s b--muted-4 tc-s tl`}>
<FormattedMessage
id="search.total-products"
values={{ recordsFiltered }}
>
<FormattedMessage id="search.total-products" values={{ recordsFiltered }}>
{txt => <span className="ph4 c-muted-2">{txt}</span>}
</FormattedMessage>
</div>
</Fragment>
)
}

Expand Down

0 comments on commit 86dd652

Please sign in to comment.