Skip to content

Commit

Permalink
fix: Currency JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
acasazza committed Nov 23, 2021
1 parent 3cecae9 commit c07fae6
Show file tree
Hide file tree
Showing 3 changed files with 197 additions and 196 deletions.
13 changes: 7 additions & 6 deletions src/components/GiftCardCurrencySelector.tsx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React, { FunctionComponent } from 'react'
import BaseSelect from './utils/BaseSelect'
import currencyOptions from '#config/currency.json'
import currencyOptions from '#config/currency'
import components from '#config/components'
import { BaseSelectComponentProps } from '#typings'

Expand All @@ -15,11 +15,12 @@ type GiftCardCurrencySelectorProps = Omit<
required?: boolean
} & Pick<JSX.IntrinsicElements['select'], 'className' | 'id' | 'style'>

const GiftCardCurrencySelector: FunctionComponent<GiftCardCurrencySelectorProps> = (
props
) => {
return <BaseSelect options={currencyOptions} name="currencyCode" {...props} />
}
const GiftCardCurrencySelector: FunctionComponent<GiftCardCurrencySelectorProps> =
(props) => {
return (
<BaseSelect options={currencyOptions} name="currencyCode" {...props} />
)
}

GiftCardCurrencySelector.propTypes = propTypes
GiftCardCurrencySelector.defaultProps = defaultProps
Expand Down
190 changes: 0 additions & 190 deletions src/config/currency.json

This file was deleted.

Loading

0 comments on commit c07fae6

Please sign in to comment.