Skip to content

Commit

Permalink
fix code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ZeeshanTamboli committed Jun 10, 2022
1 parent 4053fdd commit 0907ef4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/data/base/components/input/UseInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ const CustomInput = React.forwardRef(function CustomInput(props, ref) {

const inputProps = getInputProps();

// Make sure that both the forwarded ref and the ref returned from the are applied on the input element
// Make sure that both the forwarded ref and the ref returned from the getInputProps are applied on the input element
inputProps.ref = useForkRef(inputProps.ref, ref);

return (
Expand Down
2 changes: 1 addition & 1 deletion docs/data/base/components/input/UseInput.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ const CustomInput = React.forwardRef(function CustomInput(

const inputProps = getInputProps();

// Make sure that both the forwarded ref and the ref returned from the are applied on the input element
// Make sure that both the forwarded ref and the ref returned from the getInputProps are applied on the input element
inputProps.ref = useForkRef(inputProps.ref, ref);

return (
Expand Down

0 comments on commit 0907ef4

Please sign in to comment.