commit
5abb3025cb
2 changed files with 4 additions and 2 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
import React, { PropTypes } from 'react';
|
import React from 'react';
|
||||||
|
import PropTypes from 'prop-types';
|
||||||
import { Route, Redirect } from 'react-router-dom';
|
import { Route, Redirect } from 'react-router-dom';
|
||||||
|
|
||||||
const Authenticated = ({ loggingIn, authenticated, component, ...rest }) => (
|
const Authenticated = ({ loggingIn, authenticated, component, ...rest }) => (
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
import React, { PropTypes } from 'react';
|
import React from 'react';
|
||||||
|
import PropTypes from 'prop-types';
|
||||||
import { Route, Redirect } from 'react-router-dom';
|
import { Route, Redirect } from 'react-router-dom';
|
||||||
|
|
||||||
const Public = ({ loggingIn, authenticated, component, ...rest }) => (
|
const Public = ({ loggingIn, authenticated, component, ...rest }) => (
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue