This message was deleted.
# report-bugs
s
This message was deleted.
b
clicking the "viewed" checkbox or expanding the file causes the UI to crash and go all grey.
archiveresale/archive/5734
1. probably should have an error boundary here 2. more importantly, this is preventing me from fully reviewing since I don't know if there are changes in this viewed file
Copy code
Uncaught Error: Unable to render a collapse reason because collapsedReason was undefined (we should not get here!).

  fileKey: web-app/src/theme/brands/alc/HierarchicalNavigationWrapperTemplate.tsx::web-app/src/theme/brands/alc/HierarchicalNavigationWrapperTemplate.tsx
  rawCollapsed: undefined
    at main.6e77e847.js:2:6361638
    at Object.useMemo (main.6e77e847.js:2:2220094)
    at W.useMemo (main.6e77e847.js:2:2478787)
    at CollapsedFileDiffViewer (main.6e77e847.js:2:6361213)
    at main.6e77e847.js:2:4485803
    at main.6e77e847.js:2:4484856
    at trackDerivedFunction (main.6e77e847.js:2:4184772)
    at Reaction.track (main.6e77e847.js:2:4189584)
    at useObserver (main.6e77e847.js:2:4484831)
    at observerComponent (main.6e77e847.js:2:4485772)
3. in this particular situation, it'd be nice to have a way to reset "viewed" state for all the files, so I can see everything when doing this comparison
for now I can unblock by using GH UI to do this review
p
Hmm thanks for flagging - I'll raise this!