Skip to content

Commit 87bc2f2

Browse files
authored
Fix routing bug caused by react-router import (#2404)
* fix #2402 * update changelog
1 parent f6cd11d commit 87bc2f2

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

CHANGELOG.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# 1.0.1
2+
3+
- Fix #2402
4+
15
# 1.0.0
26

37
- Migrate to TypeScript from Flow ([#2363](https://github.com/electron-react-boilerplate/electron-react-boilerplate/pull/2363))

app/Routes.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import React from 'react';
2-
import { Switch, Route } from 'react-router';
2+
import { Switch, Route } from 'react-router-dom';
33
import routes from './constants/routes.json';
44
import App from './containers/App';
55
import HomePage from './containers/HomePage';

0 commit comments

Comments
 (0)