Closed mitabreu closed 1 week ago
I think
compareIgnoreCase
can be put inside the CompactEventCard file, becauseutil.ts
should be mostly for functions that are shared across components, but otherwise LGTM, feel free to go ahead and merge it into main. Thanks for showing everyone how to do this!
I think compareIgnoreCase is pretty generic and could be used across components.
Sure, that makes sense too. Another option is to extract shared code into util.ts
when sharing actually happens, which avoids bloating in util.ts
, but this is a bit nit-picking. Either way works
5: Added handling so that when a CompactEventCard is displaying an event organized by SIPB (as specified by the "organizer" property) confetti and SIPB's fuzzball is shown!