Skip to content

Commit

Permalink
improve i18n
Browse files Browse the repository at this point in the history
  • Loading branch information
mebtte committed Dec 8, 2023
1 parent d91999a commit 53e21ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion apps/pwa/src/pages/player/pages/search/input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import parseSearch from '@/utils/parse_search';
import { useState } from 'react';
import { useLocation } from 'react-router-dom';
import { t } from '@/i18n';
import upperCaseFirstLetter from '#/utils/upper_case_first_letter';

function Wrapper() {
const navigate = useNavigate();
Expand All @@ -17,7 +18,7 @@ function Wrapper() {
<Input
className="input"
type="search"
placeholder={t('search')}
placeholder={upperCaseFirstLetter(t('search'))}
value={keyword}
autoFocus
onChange={(e) => setKeyword(e.target.value)}
Expand Down

0 comments on commit 53e21ed

Please sign in to comment.