Skip to content

Commit

Permalink
Remove replace
Browse files Browse the repository at this point in the history
  • Loading branch information
KyleAMathews committed Jul 20, 2017
1 parent 70f2cf5 commit f6bd109
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/gatsby-link/src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import PropTypes from "prop-types"

let pathPrefix = ``
if (__PREFIX_PATHS__) {
pathPrefix = __PATH_PREFIX__.replace(/\/?$/, '');
pathPrefix = __PATH_PREFIX__
}

class GatsbyLink extends React.Component {
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby-plugin-glamor/src/gatsby-ssr.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import React from "react"
import { renderToString } from "react-dom/server"
const { renderStaticOptimized } = require("glamor/server")
const { renderStaticOptimized } = require(`glamor/server`)

exports.replaceRenderer = ({
bodyComponent,
Expand Down

0 comments on commit f6bd109

Please sign in to comment.