Skip to content

Commit

Permalink
fix console error on report screen which has task
Browse files Browse the repository at this point in the history
  • Loading branch information
StevenKKC committed Jul 1, 2023
1 parent c0ece67 commit 3d63d8f
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/components/TextLink.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,10 @@ function TextLink(props) {
TextLink.defaultProps = defaultProps;
TextLink.propTypes = propTypes;
TextLink.displayName = 'TextLink';
export default TextLink;
export default React.forwardRef((props, ref) => (
<TextLink
// eslint-disable-next-line react/jsx-props-no-spreading
{...props}
forwardedRef={ref}
/>
));

0 comments on commit 3d63d8f

Please sign in to comment.