Skip to content

Commit 3d66fc9

Browse files
MaxFrank13arbrandes
andcommitted
fix: update react-share to v5 (#795)
Co-authored-by: Adolfo R. Brandes <adolfo@axim.org>
1 parent dc10279 commit 3d66fc9

3 files changed

Lines changed: 8 additions & 10 deletions

File tree

package-lock.json

Lines changed: 5 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
"lodash": "^4.17.21",
5454
"moment": "^2.29.4",
5555
"prop-types": "15.8.1",
56-
"react-share": "^4.4.0",
56+
"react-share": "^5.2.2",
5757
"redux-logger": "3.0.6",
5858
"redux-thunk": "2.4.2",
5959
"reselect": "^4.0.0"

src/containers/CourseCard/components/CourseCardMenu/SocialShareMenu.jsx

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export const SocialShareMenu = ({ cardId, emailSettings }) => {
5151
})}
5252
resetButtonStyle={false}
5353
className="pgn__dropdown-item dropdown-item"
54+
aria-label="facebook"
5455
>
5556
{formatMessage(messages.shareToFacebook)}
5657
</ReactShare.FacebookShareButton>
@@ -65,6 +66,7 @@ export const SocialShareMenu = ({ cardId, emailSettings }) => {
6566
})}
6667
resetButtonStyle={false}
6768
className="pgn__dropdown-item dropdown-item"
69+
aria-label="twitter"
6870
>
6971
{formatMessage(messages.shareToTwitter)}
7072
</ReactShare.TwitterShareButton>

0 commit comments

Comments
 (0)