Skip to content

Commit

Permalink
fix (components/widgets/input): Warning while loading delete user page
Browse files Browse the repository at this point in the history
This reverts commit 2bb1853.
  • Loading branch information
krishna1742 authored and krishna9304 committed Jun 7, 2022
1 parent e11ded8 commit c0a86e0
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/Widgets/Input/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ const InputContainer = ({
property,
valueProperty,
noDataMessage = "No Data Found",
defaultValue = null,
}) => {
if (type === "radio" || type === "checkbox") {
return (
Expand Down Expand Up @@ -75,7 +74,6 @@ const InputContainer = ({
multiple={multiple && multiple}
size={multiple ? "15" : ""}
id={id}
defaultValue={defaultValue}
>
{options.length > 0 ? (
options.map((option, index) => (
Expand Down Expand Up @@ -141,7 +139,6 @@ InputContainer.propTypes = {
property: PropTypes.string,
valueProperty: PropTypes.string,
noDataMessage: PropTypes.string,
defaultValue: PropTypes.string,
};

export default InputContainer;

0 comments on commit c0a86e0

Please sign in to comment.