Skip to content
This repository has been archived by the owner on Nov 15, 2020. It is now read-only.

Commit

Permalink
- Update "language" of Gatsby export snippets to "Gatsby" instead of …
Browse files Browse the repository at this point in the history
…"JavaScript" as I believe the UI makes much more sense to be "Gatsby > StaticQuery" instead of "JavaScript > StaticQuery"
  • Loading branch information
jasonbahl committed Oct 14, 2019
1 parent 50e5821 commit 69c2619
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 13 deletions.
4 changes: 2 additions & 2 deletions assets/app/build/asset-manifest.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"main.css": "static/css/main.aafb6422.css",
"main.css.map": "static/css/main.aafb6422.css.map",
"main.js": "static/js/main.c67f3337.js",
"main.js.map": "static/js/main.c67f3337.js.map",
"main.js": "static/js/main.fe7dc498.js",
"main.js.map": "static/js/main.fe7dc498.js.map",
"static/media/GraphQLLanguageService.js.flow": "static/media/GraphQLLanguageService.js.5ab204b9.flow",
"static/media/autocompleteUtils.js.flow": "static/media/autocompleteUtils.js.4ce7ba19.flow",
"static/media/getAutocompleteSuggestions.js.flow": "static/media/getAutocompleteSuggestions.js.7f98f032.flow",
Expand Down
2 changes: 1 addition & 1 deletion assets/app/build/index.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<head><link href="/static/css/main.aafb6422.css" rel="stylesheet"></head><script type="text/javascript" src="/static/js/main.c67f3337.js"></script>
<head><link href="/static/css/main.aafb6422.css" rel="stylesheet"></head><script type="text/javascript" src="/static/js/main.fe7dc498.js"></script>
2 changes: 1 addition & 1 deletion assets/app/build/service-worker.js

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

Large diffs are not rendered by default.

Large diffs are not rendered by default.

3 changes: 0 additions & 3 deletions assets/app/src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import snippets from "./snippets"
/**
* Style the app
*/



import 'graphiql/graphiql.css';
import './app.css';
import "graphiql-code-exporter/CodeExporter.css"
Expand Down
6 changes: 3 additions & 3 deletions assets/app/src/snippets.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ const getQuery = (arg, spaceCount) => {

const pageQuery = {
name: `Page query`,
language: `JavaScript`,
language: `Gatsby`,
codeMirrorMode: `jsx`,
options: [],
generate: arg => `import React from "react"
Expand All @@ -29,7 +29,7 @@ export default ComponentName

const staticHook = {
name: `StaticQuery hook`,
language: `JavaScript`,
language: `Gatsby`,
codeMirrorMode: `jsx`,
options: [],
generate: arg => `import React from "react"
Expand All @@ -49,7 +49,7 @@ export default ComponentName

const staticQuery = {
name: `StaticQuery`,
language: `JavaScript`,
language: `Gatsby`,
codeMirrorMode: `jsx`,
options: [],
generate: arg => `import React from "react"
Expand Down

0 comments on commit 69c2619

Please sign in to comment.