Skip to content

Commit

Permalink
remove link
Browse files Browse the repository at this point in the history
  • Loading branch information
jhackshaw committed Nov 22, 2019
1 parent 39ee049 commit 6d3d5f4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 18 deletions.
11 changes: 1 addition & 10 deletions src/components/MenuHeader.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from 'react';
import { useDispatch } from 'react-redux';
import { Grid, Typography, IconButton, Tooltip } from '@material-ui/core';
import { FontAwesomeIcon } from '@fortawesome/react-fontawesome';
import { faHandHoldingUsd, faInfoCircle, faBriefcase } from '@fortawesome/free-solid-svg-icons';
import { faInfoCircle, faBriefcase } from '@fortawesome/free-solid-svg-icons';
import { faGithub } from '@fortawesome/free-brands-svg-icons';
import { makeStyles } from '@material-ui/styles';
import MenuSection from './MenuSection'
Expand All @@ -29,10 +29,6 @@ const MenuHeader = props => {
dispatch(actions.toggleSiteInfoOpen());
}

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

const onGoToSource = () => {
actions.goToSource();
}
Expand All @@ -44,11 +40,6 @@ const MenuHeader = props => {
<FontAwesomeIcon icon={faBriefcase} width="0" /> TSPVIS
</Typography>
<Typography gutterBottom display="inline" color="textSecondary">
<Tooltip title="Support this site">
<IconButton target="_blank" href="https://www.buymeacoffee.com/tspvis" onClick={onGoToSupport}>
<FontAwesomeIcon icon={faHandHoldingUsd} size="xs" width="0" />
</IconButton>
</Tooltip>

<Tooltip title="Source code">
<IconButton target="_blank" href="https://github.com/jhackshaw/tspvis" onClick={onGoToSource}>
Expand Down
8 changes: 0 additions & 8 deletions src/store/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -268,14 +268,6 @@ export const setDefaultMap = (...args) => dispatch => {
}




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

export const goToSource = () => {
gtmEmit({
event: 'go-to-source'
Expand Down

0 comments on commit 6d3d5f4

Please sign in to comment.