Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* fix lint
Browse files Browse the repository at this point in the history
CalamityC committed Dec 12, 2024
1 parent 826a9a7 commit 861261f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/RefdataSelect/RefdataSelect.js
Original file line number Diff line number Diff line change
@@ -27,17 +27,17 @@ const RefdataSelect = ({
return (
<Select
{...rest}
value={currentValue}
onChange={handleChange}
dataOptions={dataOptions}
error={meta?.touched && meta?.error}
onChange={handleChange}
value={currentValue}
/>
);
};

RefdataSelect.propTypes = {
input: PropTypes.shape({
value: PropTypes.any,
value: PropTypes.string,
onChange: PropTypes.func,
}),
meta: PropTypes.shape({
@@ -51,7 +51,7 @@ RefdataSelect.propTypes = {
})
).isRequired,
onChange: PropTypes.func,
value: PropTypes.any,
value: PropTypes.string,
format: PropTypes.func,
parse: PropTypes.func,
};

0 comments on commit 861261f

Please sign in to comment.