mirror of
https://github.com/vale981/accounts-ui
synced 2025-03-04 17:31:41 -05:00
Fixed an issue with imports when using latest version of react router.
This commit is contained in:
parent
18697c77a7
commit
f4b92538e0
4 changed files with 9 additions and 3 deletions
|
@ -1,5 +1,10 @@
|
||||||
# ChangeLog
|
# ChangeLog
|
||||||
|
|
||||||
|
### v1.2.19
|
||||||
|
16-February-2017
|
||||||
|
|
||||||
|
* Fixed an issue with imports when using latest version of react router.
|
||||||
|
|
||||||
### v1.2.18
|
### v1.2.18
|
||||||
6-February-2017
|
6-February-2017
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# React Accounts UI
|
# React Accounts UI
|
||||||
|
|
||||||
Current version 1.2.18
|
Current version 1.2.19
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
import { Accounts } from 'meteor/accounts-base';
|
import { Accounts } from 'meteor/accounts-base';
|
||||||
try { import { Link } from 'react-router'; } catch(e) {}
|
let Link;
|
||||||
|
try { Link = require('react-router').Link; } catch(e) {}
|
||||||
|
|
||||||
export class Button extends React.Component {
|
export class Button extends React.Component {
|
||||||
render () {
|
render () {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
Package.describe({
|
Package.describe({
|
||||||
name: 'std:accounts-ui',
|
name: 'std:accounts-ui',
|
||||||
version: '1.2.18',
|
version: '1.2.19',
|
||||||
summary: 'Accounts UI for React in Meteor 1.3+',
|
summary: 'Accounts UI for React in Meteor 1.3+',
|
||||||
git: 'https://github.com/studiointeract/accounts-ui',
|
git: 'https://github.com/studiointeract/accounts-ui',
|
||||||
documentation: 'README.md'
|
documentation: 'README.md'
|
||||||
|
|
Loading…
Add table
Reference in a new issue