-
Bug
-
Resolution: Done
-
Undefined
-
None
-
None
-
False
-
-
False
-
Unset
-
No
-
-
Today when I tried the hac-dev local dev environment, the page would load with errors.
src_bootstrap_tsx-src_moduleOverrides_unfetch_ts-node_modules_redhat-cloud-services_frontend--275e6e.f78cb8180df66519.js:10642 POST https://prod.foo.redhat.com:1337/api/chrome-service/v1/user/visited-bundles 404 (Not Found)
In the local dev environment, this network request results in a 404 and subsequently there is an error trying to read from an undefined object.
In `useVistedBundles`, `getState()` returns undefined:
return { visitedBundles: getState().visitedBundles, markVisited: markVisited };
The page then loads looking like this:
Just yesterday I had a local dev environment working.