Hey, nice rails+react series. Just a couple of observations.
This line in the MovieListItem component is not necessary:
import { prettyDate } from "../../../utils/langHelper"
In the App.js this import was missing:
import { BrowserRouter as Router } from "react-router-dom";
And finally the base url in the .env file should change to:
REACT_APP_API_URL=localhost:3000/api/v1/
Hi thank you, I will make the corrections. If you have any questions, suggestions feel free to ask me.
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Hey, nice rails+react series. Just a couple of observations.
This line in the MovieListItem component is not necessary:
import { prettyDate } from "../../../utils/langHelper"
In the App.js this import was missing:
import { BrowserRouter as Router } from "react-router-dom";
And finally the base url in the .env file should change to:
REACT_APP_API_URL=localhost:3000/api/v1/
Hi thank you, I will make the corrections. If you have any questions, suggestions feel free to ask me.