Add missing tooltips for a few buttons in the claim page

3465
This commit is contained in:
infiinte-persistence 2020-10-02 12:47:54 +08:00 committed by Sean Yesmunt
parent 4053a920d9
commit 746f0db1f1
2 changed files with 5 additions and 1 deletions

View file

@ -105,7 +105,9 @@ function CommentList(props: Props) {
: __('%total_comments% comments', { total_comments: totalComments })
: __('Leave a comment')
}
titleActions={<Button button="alt" icon={ICONS.REFRESH} onClick={() => fetchComments(uri)} />}
titleActions={
<Button button="alt" icon={ICONS.REFRESH} title={__('Refresh')} onClick={() => fetchComments(uri)} />
}
actions={
<>
<CommentCreate uri={uri} />

View file

@ -87,6 +87,7 @@ function FileActions(props: Props) {
label={
claim.meta.reposted > 1 ? __(`%repost_total% Reposts`, { repost_total: claim.meta.reposted }) : __('Repost')
}
description={__('Repost')}
requiresAuth={IS_WEB}
onClick={handleRepostClick}
/>
@ -94,6 +95,7 @@ function FileActions(props: Props) {
className="button--file-action"
icon={ICONS.SHARE}
label={__('Share')}
title={__('Share')}
onClick={() => openModal(MODALS.SOCIAL_SHARE, { uri, webShareable })}
/>
</>