Add help text to watch history

This commit is contained in:
Raphael Wickihalder 2022-05-02 12:40:52 +02:00 committed by Thomas Zarebczan
parent bf8199dd05
commit 4604bc4a28

View file

@ -7,6 +7,7 @@ import classnames from 'classnames';
import Icon from 'component/common/icon';
import * as ICONS from 'constants/icons';
import { YRBL_SAD_IMG_URL } from 'config';
import Tooltip from 'component/common/tooltip';
import usePersistedState from 'effects/use-persisted-state';
@ -47,6 +48,9 @@ export default function HistoryPage(props: Props) {
<h1 className="card__title">
<Icon icon={ICONS.WATCHHISTORY} style={{ marginRight: 'var(--spacing-s)' }} />
{__('Watch History')}
<Tooltip title={__('Currently, history is only saved in your local browser session')}>
<Button className="icon--help" icon={ICONS.HELP} iconSize={14} />
</Tooltip>
</h1>
<div className="claim-list__alt-controls--wrap">