fix(link): lint and format links

This commit is contained in:
Mrugesh Mohapatra
2019-02-21 20:55:36 +05:30
committed by Stuart Taylor
parent 4fb112e87f
commit 65288de39a
14 changed files with 75 additions and 261 deletions

View File

@@ -1,7 +1,7 @@
/* eslint-disable max-len */
import React from 'react';
import PropTypes from 'prop-types';
import { Link, graphql } from 'gatsby';
import { graphql } from 'gatsby';
import Helmet from 'react-helmet';
import { connect } from 'react-redux';
@@ -12,7 +12,7 @@ import {
} from '../redux/propTypes';
import LearnLayout from '../components/layouts/Learn';
import Spacer from '../components/helpers/Spacer';
import { Link, Spacer } from '../components/helpers';
import Map from '../components/Map';
import './learn.css';
@@ -49,9 +49,9 @@ const IndexPage = ({
<p>
And yes - all of this is 100% free, thanks to the thousands of campers
who{' '}
<a href='/donate' rel='noopener noreferrer' target='_blank'>
<Link external={true} to='/donate'>
donate
</a>{' '}
</Link>{' '}
to our nonprofit.
</p>
<p>