chore: i18n in toast

This commit is contained in:
Tristan Yang
2023-01-19 08:39:57 +08:00
parent 1f7baef4b6
commit fd8c54e702
34 changed files with 107 additions and 86 deletions
@@ -31,7 +31,7 @@ const UpdateFrontendURL = ({ refreshInviteLink }: Props) => {
useEffect(() => {
if (isSuccess) {
refreshInviteLink();
toast.success("Update Successfully!");
toast.success(ct("tip.update"));
}
}, [isSuccess]);
return (