Skip to content

Commit e89eaf6

Browse files
authored
Merge pull request #104 from h2s20/master
fixed and issue with imports when using react router (closing #102)
2 parents 1224532 + 8fb7666 commit e89eaf6

4 files changed

Lines changed: 9 additions & 3 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,10 @@
11
# ChangeLog
22

3+
### v1.2.20
4+
13-March-2017
5+
6+
* Fixed an issue with imports when using react router.
7+
38
### v1.2.19
49
16-February-2017
510

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# React Accounts UI
22

3-
Current version 1.2.19
3+
Current version 1.2.20
44

55
## Features
66

imports/helpers.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
try { import { browserHistory } from 'react-router'; } catch(e) {}
1+
let browserHistory
2+
try { browserHistory = require('react-router').browserHistory } catch(e) {}
23
export const loginButtonsSession = Accounts._loginButtonsSession;
34
export const STATES = {
45
SIGN_IN: Symbol('SIGN_IN'),

package.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Package.describe({
22
name: 'std:accounts-ui',
3-
version: '1.2.19',
3+
version: '1.2.20',
44
summary: 'Accounts UI for React in Meteor 1.3+',
55
git: 'https://github.com/studiointeract/accounts-ui',
66
documentation: 'README.md'

0 commit comments

Comments
 (0)