I am creating a details page to load json data for a specific id from earthquake list. The home.js file contains the state and the routes. The detail.js page contains the view.