refacor(brought back default values)

Co-authored-by: Sebastian Palmqvist <PalmN72@users.noreply.github.com>
This commit is contained in:
Lee 2023-11-02 13:52:36 +01:00
parent 880f5bf73f
commit b2f926d019
1 changed files with 6 additions and 12 deletions

View File

@ -23,18 +23,12 @@ export const NewsList = () => {
const header = useMemo(
() => (
<Input
accessibilityHint={translate(
'news.search.placeholder'
// {
// defaultValue: 'Sök alla nyheter...',
// }
)}
placeholder={translate(
'news.search.placeholder'
// {
// defaultValue: 'Sök alla nyheter...',
// }
)}
accessibilityHint={translate('news.search.placeholder', {
defaultValue: 'Sök alla nyheter...',
})}
placeholder={translate('news.search.placeholder', {
defaultValue: 'Sök alla nyheter...',
})}
returnKeyType="search"
status="basic"
accessoryLeft={SearchIcon}