From 0907ef4431e6f64051560860b091c9498fbaa665 Mon Sep 17 00:00:00 2001 From: ZeeshanTamboli Date: Fri, 10 Jun 2022 11:23:38 +0530 Subject: [PATCH] fix code comment --- docs/data/base/components/input/UseInput.js | 2 +- docs/data/base/components/input/UseInput.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/data/base/components/input/UseInput.js b/docs/data/base/components/input/UseInput.js index 7830a76f8866d5..38eb8542fb23ff 100644 --- a/docs/data/base/components/input/UseInput.js +++ b/docs/data/base/components/input/UseInput.js @@ -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 ( diff --git a/docs/data/base/components/input/UseInput.tsx b/docs/data/base/components/input/UseInput.tsx index 07385412e19c29..8676204bf985da 100644 --- a/docs/data/base/components/input/UseInput.tsx +++ b/docs/data/base/components/input/UseInput.tsx @@ -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 (