summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorRafi Zadanly <zadanlyr@gmail.com>2023-01-16 12:58:45 +0700
committerRafi Zadanly <zadanlyr@gmail.com>2023-01-16 12:58:45 +0700
commitecb4e0be9f7649f448191b016e744980541e6c75 (patch)
tree8ab5fbc860f891cc40ebb012f7d843a4e9695f63 /src/components
parent059e91523af7d5f17c8357ec27a4512aa90feee3 (diff)
typo import
Diffstat (limited to 'src/components')
-rw-r--r--src/components/SelectFormik.js18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/components/SelectFormik.js b/src/components/SelectFormik.js
deleted file mode 100644
index 4fd711c5..00000000
--- a/src/components/SelectFormik.js
+++ /dev/null
@@ -1,18 +0,0 @@
-import ReactSelect from "react-select";
-
-const SelectFormik = ({
- options,
- field,
- form
-}) => {
- return <ReactSelect
- options={options}
- name={field.name}
- value={options ? options.find(option => option.value === field.value) : ''}
- onChange={(option) => form.setFieldValue(field.name, option.value)}
- onBlur={field.onBlur}
- classNamePrefix={field}
- />
-}
-
-export default SelectFormik; \ No newline at end of file