Skip to content

Commit

Permalink
Removes unnecessary defineMessages
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffersontuc committed Sep 19, 2019
1 parent 4848e53 commit 40d1ac3
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions react/FormattedPrice.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,7 @@
import React, { FC, Fragment } from 'react'
import {
defineMessages,
injectIntl,
InjectedIntlProps,
FormattedMessage,
} from 'react-intl'
import { injectIntl, InjectedIntlProps, FormattedMessage } from 'react-intl'
import { FormattedCurrency } from 'vtex.format-currency'

defineMessages({
Free: {
id: 'store/price.Free',
defaultMessage: 'FREE',
},

TBA: {
id: 'store/price.TBA',
defaultMessage: 'TBA',
},
})

const FormattedPrice: FC<FormattedPriceProps & InjectedIntlProps> = ({
value,
}) => {
Expand Down

0 comments on commit 40d1ac3

Please sign in to comment.