fix search bar desync

This commit is contained in:
Youwen Wu 2024-02-13 13:43:10 -08:00
parent eb790fb6ac
commit 90b335c30d

View file

@ -33,6 +33,7 @@ export default function SearchBar({
placeholder='Search...' placeholder='Search...'
onChange={handleInputChange} onChange={handleInputChange}
onKeyDown={handleKeyPress} onKeyDown={handleKeyPress}
value={searchInput}
/> />
<button <button
type='submit' type='submit'