chore: i18n in toast
This commit is contained in:
@@ -23,7 +23,7 @@ const DeleteConfirmModal: FC<Props> = ({ id, closeModal }) => {
|
||||
|
||||
useEffect(() => {
|
||||
if (isSuccess) {
|
||||
toast.success("delete user successfully!");
|
||||
toast.success(ct("tip.delete"));
|
||||
closeModal();
|
||||
navigateTo("/chat");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user