mirror of
https://github.com/movie-web/movie-web.git
synced 2024-11-11 01:05:08 +01:00
feat(search): different placeholder based on type
This commit is contained in:
parent
85dda8c13f
commit
270daeccec
@ -117,7 +117,7 @@ export function SearchView() {
|
||||
]}
|
||||
selected={type}
|
||||
/>
|
||||
<InputBox placeholder="Hamilton" onSubmit={(str) => searchMovie(str, type)} />
|
||||
<InputBox placeholder={ type === "movie" ? "Hamilton" : "Atypical" } onSubmit={(str) => searchMovie(str, type)} />
|
||||
<Progress show={progress > 0} failed={failed} progress={progress} steps={maxSteps} text={text} />
|
||||
</Card>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user