Closed ufxela closed 4 years ago
I screwed up & merged broken nextjs stuff into master (wasn't deployed though). This fixes the bug. The bug was that openseadragon requires certain properties are not undefined (I think https://github.com/TheStanfordDaily/archives-web/commit/932cfce33c53addf6a2607c341717162529e9023 also refers to this issue). The reason I couldn't use the same fix as https://github.com/TheStanfordDaily/archives-web/commit/932cfce33c53addf6a2607c341717162529e9023 is because it would cause other parts of the site, like the issue pages, to break.
Reasons for making this change
I screwed up & merged broken nextjs stuff into master (wasn't deployed though). This fixes the bug. The bug was that openseadragon requires certain properties are not undefined (I think https://github.com/TheStanfordDaily/archives-web/commit/932cfce33c53addf6a2607c341717162529e9023 also refers to this issue). The reason I couldn't use the same fix as https://github.com/TheStanfordDaily/archives-web/commit/932cfce33c53addf6a2607c341717162529e9023 is because it would cause other parts of the site, like the issue pages, to break.