mirror of
https://github.com/AmruthPillai/Reactive-Resume.git
synced 2025-11-20 11:41:38 +10:00
Remove useTranslation hook from util functions
This commit is contained in:
@ -85,7 +85,7 @@ const DataModal = ({
|
||||
};
|
||||
|
||||
const getTitle = isEmpty(title)
|
||||
? getModalText(isEditMode, name)
|
||||
? getModalText(isEditMode, name, t)
|
||||
: isEditMode
|
||||
? title.edit
|
||||
: title.create;
|
||||
|
||||
Reference in New Issue
Block a user