Skip to content

Commit 6460fe0

Browse files
committed
Fix the website
We were using the CommonJS build in one spot and the ESM build in the shim file, so they didn't match.
1 parent bca95ce commit 6460fe0

File tree

1 file changed

+1
-1
lines changed
  • website/modules/components

1 file changed

+1
-1
lines changed

website/modules/components/App.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from "react";
22

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

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

0 commit comments

Comments
 (0)