Skip to content

Commit

Permalink
Merge pull request #187 from krishna9304/krishna9304/167/warning-in-d…
Browse files Browse the repository at this point in the history
…elete-user-page

fix (components/widgets/input): Warning while loading delete user page

Reviewed-by: [email protected]
Tested-by: [email protected]
  • Loading branch information
GMishx authored Jun 13, 2022
2 parents 37057e1 + c0a86e0 commit bd5afd9
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 bd5afd9

Please sign in to comment.