File tree Expand file tree Collapse file tree 4 files changed +5
-11
lines changed
src/@draftbox-co/gatsby-wordpress-theme-libre/components Expand file tree Collapse file tree 4 files changed +5
-11
lines changed Original file line number Diff line number Diff line change 11DISQUS_SHORTNAME =
22FORM_URL = http://localhost:3000/api/project/5e81b8923d8c2d64d8549add/forms
3- FB_APP_ID =
3+ GATSBY_FB_APP_ID =
Original file line number Diff line number Diff line change @@ -3,12 +3,12 @@ import { DiscussionEmbed } from "disqus-react";
33
44const Disqus = props => {
55 const disqusConfig = {
6- shortname : process . env . DISQUS_SHORTNAME ,
6+ shortname : process . env . GATSBY_DISQUS_SHORTNAME ,
77 identifier : props . slug ,
88 title : props . slug
99 } ;
1010
11- return process . env . DISQUS_SHORTNAME ? (
11+ return process . env . GATSBY_DISQUS_SHORTNAME ? (
1212 < DiscussionEmbed { ...disqusConfig } />
1313 ) : (
1414 < > </ >
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ import React from "react";
22import { FacebookProvider , Comments } from 'react-facebook' ;
33
44const FbComments = props => {
5- return process . env . FB_APP_ID ? (
6- < FacebookProvider appId = { process . env . FB_APP_ID } >
5+ return process . env . GATSBY_FB_APP_ID ? (
6+ < FacebookProvider appId = { process . env . GATSBY_FB_APP_ID } >
77 < Comments href = { props . href } />
88 </ FacebookProvider >
99 ) : (
1010 < > </ >
1111 ) ;
12- return ;
1312} ;
1413
1514export default FbComments ;
Original file line number Diff line number Diff line change 19181918 version "2.30.0"
19191919 resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-2.30.0.tgz#7681c305a6f4341ae2579f5e3a75846c29eee9ce"
19201920 integrity sha512-9kDOxzp0K85UnpmPJqUzdWaCNorYYgk1yZmf4IKzpeTlSAclnFsrLjfwD9mQExctLoLoGAUXq1co+fbr+3HeFw==
1921- dependencies:
1922- "@types/eslint-visitor-keys" "^1.0.0"
1923- "@typescript-eslint/experimental-utils" "2.30.0"
1924- "@typescript-eslint/typescript-estree" "2.30.0"
1925- eslint-visitor-keys "^1.1.0"
19261921
19271922"@typescript-eslint/typescript-estree@2.30.0":
19281923 version "2.30.0"
You can’t perform that action at this time.
0 commit comments