Skip to content

Commit 8d9d41f

Browse files
feat: added translation to emptyState component
1 parent 091bccc commit 8d9d41f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/components/EmptyState/EmptyState.tsx

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,13 @@
1+
import { useTranslation } from '@/hooks/useTranslation';
12
import styles from './EmptyState.module.scss';
23
import Icon from '@/assets/icons/bots.svg';
34

45
const EmptyState = () => {
6+
const { t } = useTranslation();
57
return (
68
<div className={styles.emptyState}>
79
<div className={styles.message}>
8-
<Icon width={50} height={50} className={styles.icon} /> Empty!
10+
<Icon width={50} height={50} className={styles.icon} /> {t('empty')}
911
</div>
1012
</div>
1113
);

0 commit comments

Comments
 (0)