Skip to content

Commit

Permalink
fix: Heroku build fail fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Benny Ogidan authored and Benny Ogidan committed Jan 4, 2018
1 parent 940ba00 commit ff0b1f1
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions client/src/app/MainRoot.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,9 @@ const MainRoot = () => (
<Root>
<Switch>
<Route exact path="/" component={LandingPage} />
<GuestRoutes exact path="/login" component={AuthSignIn} />
<Route exact path="/login" component={AuthSignIn} />
<Route exact path="/logout" component={Logout} />
<GuestRoutes exact path="/signup" component={AuthSignUp} />
<Route exact path="/signup" component={AuthSignUp} />
<UserRoutes exact path="/dashboard" component={UserDashboard} />
<AdminRoutes exact path="/admin" component={AdminDashboard} />
<UserRoutes exact path="/changepassword" component={ChangePassword} />
Expand Down
1 change: 1 addition & 0 deletions client/src/app/components/hoc/UserRoutes.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ const UserRoutes = ({
component,
...rest
}) => {
// console.log({ isAuthenticated, tokenExists });
const PassedComponent = component;
return (
<Route
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class EditBookModal extends React.Component {
title: nextProps.book.title,
author: nextProps.book.author,
description: nextProps.book.description,
quantity: nextProps.book.quantity.toString(),
quantity: nextProps.book.quantity,
imageName: '',
categoryId: nextProps.book.categoryId,
bookImage: nextProps.book.bookImage,
Expand Down

0 comments on commit ff0b1f1

Please sign in to comment.