Skip to content

Commit

Permalink
link change
Browse files Browse the repository at this point in the history
  • Loading branch information
jhackshaw committed Oct 21, 2019
1 parent 4cfffe9 commit 1865c3a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions src/components/MenuHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ const MenuHeader = props => {
dispatch(actions.toggleSiteInfoOpen());
}

const onGoToKoFi = () => {
actions.goToKoFi();
const onGoToSupport = () => {
actions.goToSupport();
}

const onGoToSource = () => {
Expand All @@ -45,7 +45,7 @@ const MenuHeader = props => {
</Typography>
<Typography gutterBottom display="inline" color="textSecondary">
<Tooltip title="Support this site">
<IconButton target="_blank" href="https://ko-fi.com/tspvis#" onClick={onGoToKoFi}>
<IconButton target="_blank" href="https://www.buymeacoffee.com/tspvis" onClick={onGoToSupport}>
<FontAwesomeIcon icon={faHandHoldingUsd} size="xs" width="0" />
</IconButton>
</Tooltip>
Expand Down
4 changes: 2 additions & 2 deletions src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -270,9 +270,9 @@ export const setDefaultMap = (...args) => dispatch => {



export const goToKoFi = () => {
export const goToSupport = () => {
gtmEmit({
event: 'go-to-kofi'
event: 'go-to-support'
})
}

Expand Down

0 comments on commit 1865c3a

Please sign in to comment.