mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-04 22:16:40 +00:00
Merge branch 'master' of https://github.com/Re-Ignited-Development/new-phone-who-dis
This commit is contained in:
commit
645f982074
7 files changed
+121
-15
No files matched your search
@@ -8,6 +8,8 @@ import {
|
||||
makeStyles,
|
||||
} from '@material-ui/core/styles';
|
||||
|
||||
import { useTranslation } from 'react-i18next';
|
||||
|
||||
import { useFilteredContacts } from '../../hooks/useFilteredContacts';
|
||||
|
||||
const useStyles = makeStyles((theme: Theme) =>
|
||||
@@ -69,6 +71,8 @@ export const SearchContacts = () => {
|
||||
|
||||
const classes = useStyles();
|
||||
|
||||
const { t } = useTranslation();
|
||||
|
||||
const handleChange = (e) => {
|
||||
setFilteredContacts(e.target.value);
|
||||
};
|
||||
@@ -81,7 +85,7 @@ export const SearchContacts = () => {
|
||||
</div>
|
||||
<InputBase
|
||||
onChange={handleChange}
|
||||
placeholder='Search contacts...'
|
||||
placeholder={t('APPS_CONTACT_PLACEHOLDER_SEARCH_CONTACTS')}
|
||||
classes={{
|
||||
root: classes.inputRoot,
|
||||
input: classes.inputInput,
|
||||
|
||||
Reference in new issue
Block a user