Skip to content

Conversation

zatteo
Copy link
Member

@zatteo zatteo commented May 19, 2025

No description provided.

}

export default HelpLink
export const mapStateToProps = state => ({
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we can use hook instead:

import { useSelector } from 'react-redux'
const helpLink = useSelector(getHelpLink)`

Copy link
Member Author

@zatteo zatteo May 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Much better 👍 Unfortunately we only have react-redux 5.x here. As we will remove it completely, I prefer to not take the time to upgrade for this.

@zatteo zatteo merged commit e34884f into master May 20, 2025
2 checks passed
@zatteo zatteo deleted the fix/help-link branch May 20, 2025 08:45
@cozy-bot
Copy link

🎉 This PR is included in version 22.1.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants