Created by: nayakrahul
Description of PR
This PR shortens the code in search.js
. Previously, rendering code for suggestions were repeated. Now, they are rendered by mapping through a list both for essentials and locations.
Relevant Issues
Fixes #1903 (closed)
Checklist
-
Compiles and passes lint tests -
Properly formatted -
Tested on desktop -
Tested on phone