Refactor empty state component to be used also for "no search results"
Change how window closing works to a hook that waits for recents to be updated in the store. Before it never waited for scripts to execute, this caused a problem when trying to save recents to local storage because there was not enough time before window closed
Refactor fuzzy search and sorting from hooks to selectors
Changes
recents
to be updated in the store. Before it never waited for scripts to execute, this caused a problem when trying to save recents to local storage because there was not enough time before window closed