Skip to content

Remove explicit gatsby-link dependency #41

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
{
"name": "gatsby-starter-bootstrap-netlify",
"description": "Example Gatsby, Bootstrap, and Netlify CMS project",
"version": "1.0.0",
"version": "1.0.1",
"author": "David Konsumer <[email protected]>",
"dependencies": {
"bootstrap": "^4.1.3",
"bootswatch": "4.*",
"gatsby": "^2.0.63",
"gatsby-link": "^2.0.7",
"gatsby-plugin-netlify": "^2.0.6",
"gatsby-plugin-offline": "^2.0.18",
"gatsby-plugin-react-helmet": "^3.0.4",
Expand Down
3 changes: 1 addition & 2 deletions src/components/layout/index.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
import React from 'react'
import { Container } from 'reactstrap'
import PropTypes from 'prop-types'
import Link from 'gatsby-link'
import Helmet from 'react-helmet'
import { StaticQuery, graphql } from 'gatsby'
import { graphql, Link, StaticQuery } from 'gatsby'

// code syntax-highlighting theme
// feel free to change it to another one
Expand Down
3 changes: 1 addition & 2 deletions src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
import React from 'react'
import { Container, Card, CardText, CardBody, CardTitle, CardSubtitle } from 'reactstrap'
import Link from 'gatsby-link'
import { graphql } from 'gatsby'
import { graphql, Link } from 'gatsby'
import Layout from '../components/layout'

const IndexPage = ({ data }) => {
Expand Down
3 changes: 1 addition & 2 deletions src/templates/blog.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@ import React from 'react'
import { Container, Card, CardTitle, CardGroup, CardBody } from 'reactstrap'
import Helmet from 'react-helmet'
import { basename } from 'path'
import Link from 'gatsby-link'
import { graphql } from 'gatsby'
import { graphql, Link } from 'gatsby'
import Layout from '../components/layout'

// find a post title by path
Expand Down