mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
feat(search): different placeholder based on type
This commit is contained in:
parent
85dda8c13f
commit
270daeccec
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue