Open ShiviPro opened 2 years ago
✔️ Deploy Preview for mlh-prep-4-1-1 ready!
🔨 Explore the source changes: 25721c4ce3a5990897a5c6b452a4626b98fcb7df
🔍 Inspect the deploy log: https://app.netlify.com/sites/mlh-prep-4-1-1/deploys/6172c244de880b00071db810
😎 Browse the preview: https://deploy-preview-44--mlh-prep-4-1-1.netlify.app/
Summary
The five most recent searches done by the user, can now be viewed in a section aside to the main content.
Details
I've accessed the
searchHistory
state (which gets updated with thelocalStorage
contents), and have listed it's contents in a section, which resides aside to main content i.e. the search functionality.Caveats
I wasn't able to manage making the search by clicking the recent search contents. We could have enabled this if not for time constraints, as well as my teammate @Tanmay000009 being unhealthy.
Related issues
This completely solves issue #12.