devsoc-unsw / freerooms

A web application designed to aid UNSW students in finding vacant rooms.
https://freerooms.devsoc.app/
Other
18 stars 1 forks source link

(fix) duplicate SearchOptions being prepended to recentSearches array #432

Closed richard-xue-vrx closed 3 months ago

richard-xue-vrx commented 3 months ago

https://github.com/devsoc-unsw/freerooms/issues/426

Fixed duplicate recent search issue; now removes old existing search option when setting a new recentSearches by splicing out duplicate option.