Skip to content

Commit

Permalink
Fix the website
Browse files Browse the repository at this point in the history
We were using the CommonJS build in one spot and the ESM build in the
shim file, so they didn't match.
  • Loading branch information
mjackson committed Sep 30, 2018
1 parent bca95ce commit 6460fe0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion website/modules/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import React from "react";

// don't want the shimmed one
// eslint-disable-next-line
import BrowserRouter from "../../../packages/react-router-dom/BrowserRouter";
import { BrowserRouter } from "../../../packages/react-router-dom";

// this stuff is shimmed, see ReactRouterDOMShim.js for more details
import { Switch, Route } from "react-router-dom";
Expand Down

0 comments on commit 6460fe0

Please sign in to comment.