More work in header and distanceslider
This commit is contained in:
parent
29f9a2d476
commit
5bed310153
7 changed files with 64 additions and 48 deletions
|
|
@ -9,7 +9,7 @@ const Public = ({ loggingIn, authenticated, component, path, exact, ...rest }) =
|
|||
render={props => (
|
||||
!authenticated ?
|
||||
(React.createElement(component, { ...props, ...rest, loggingIn, authenticated })) :
|
||||
(<Redirect to="/documents" />)
|
||||
(<Redirect to="/subscriptions" />)
|
||||
)}
|
||||
/>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue