Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 94d16fd

Browse files
Tilde Ann Thuriummofo37
andcommitted
Add message to tooltip
Co-Authored-By: mofo37 <[email protected]>
1 parent ad7e9d7 commit 94d16fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lib/views/github-tile-view.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import Tooltip from '../atom/tooltip';
77
import {addEvent} from '../reporter-proxy';
88
import {autobind} from '../helpers';
99

10+
const toolTipMessage = 'Click to view open GitHub pull requests';
11+
1012
export default class GithubTileView extends React.Component {
1113
static propTypes = {
1214
didClick: PropTypes.func.isRequired,
@@ -37,7 +39,7 @@ export default class GithubTileView extends React.Component {
3739
key="tooltip"
3840
manager={this.props.tooltips}
3941
target={this.refTileNode}
40-
title={`<div style="text-align: left; line-height: 1.2em;">${'hi'}</div>`}
42+
title={`<div style="text-align: left; line-height: 1.2em;">${toolTipMessage}</div>`}
4143
showDelay={atom.tooltips.hoverDefaults.delay.show}
4244
hideDelay={atom.tooltips.hoverDefaults.delay.hide}
4345
/>

0 commit comments

Comments
 (0)