Allow For Entries to be Undefined
The Problem
e.entries console error in event detail - sometimes there is no field for entries
The Solution
-
Add test to ensure there is no longer a console type error for undefined entries
- The test itself seems kind of basic - but the key with it is that there is no longer a console error, and entries is allowed to be undefined
- For entries selectors (there are four), add check to see if entries is undefined
- Update interfaces
- Update storybook and add story with noEntries test data to Event Detail story
Closes #33 (closed)
Edited by Emily Jensen