Skip to content
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

Tidy up the remark example #6160

Merged
merged 2 commits into from
Jun 26, 2018
Merged
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 examples/using-remark/src/layouts/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { Link, StaticQuery } from "gatsby"
import { Link, StaticQuery, graphql } from "gatsby"
import { scale } from "../utils/typography"
import styles from "../styles"

Expand Down
2 changes: 1 addition & 1 deletion examples/using-remark/src/pages/excerpt-example.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { Link } from "gatsby"
import { Link, graphql } from "gatsby"
import styles from "../styles"
import presets from "../utils/presets"
import { rhythm, scale } from "../utils/typography"
Expand Down
2 changes: 1 addition & 1 deletion examples/using-remark/src/pages/index.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { Link } from "gatsby"
import { Link, graphql } from "gatsby"
import Layout from "../layouts"
import styles from "../styles"
import presets from "../utils/presets"
Expand Down
2 changes: 1 addition & 1 deletion examples/using-remark/src/pages/tags.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { Link } from "gatsby"
import { Link, graphql } from "gatsby"
import Layout from "../layouts"
import kebabCase from "lodash/kebabCase"

Expand Down
2 changes: 1 addition & 1 deletion examples/using-remark/src/templates/template-blog-post.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { Link } from "gatsby"
import { Link, graphql } from "gatsby"
import Img from "gatsby-image"
import rehypeReact from "rehype-react"

Expand Down
2 changes: 1 addition & 1 deletion examples/using-remark/src/templates/template-tag-page.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import React from "react"
import { Link } from "gatsby"
import { Link, graphql } from "gatsby"
import Layout from "../layouts"

class TagRoute extends React.Component {
Expand Down
2 changes: 2 additions & 0 deletions packages/gatsby-transformer-sharp/src/fragments.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/* eslint-disable */
import { graphql } from "gatsby"

export const gatsbyImageSharpFixed = graphql`
fragment GatsbyImageSharpFixed on ImageSharpFixed {
base64
Expand Down