Skip to content

Commit

Permalink
Fix return undefined
Browse files Browse the repository at this point in the history
  • Loading branch information
blazejkustra committed Sep 20, 2023
1 parent b4fa925 commit 85320cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/Composer/index.ios.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function Composer({shouldClear, onClear, isDisabled, maxLines, forwardedRef, isC
*/
const maxNumberOfLines = useMemo(() => {
if (isComposerFullSize) {
return undefined;
return;
}
return maxLines;
}, [isComposerFullSize, maxLines]);
Expand Down

0 comments on commit 85320cc

Please sign in to comment.