perf: Cache translations per language/per release (#10843)

Co-authored-by: zomars <[email protected]>
This commit is contained in:
Keith Williamsandzomars authored and GitHub committed 2023-08-18 17:46:17 -07:00
1 parent e8554ed5c5
commit 3f273235a6
18 files changed
+75 -80

No files matched your search

@@ -12,9 +12,6 @@ const DisableUserImpersonation = ({ disableImpersonation }: { disableImpersonati
showToast(t("your_user_profile_updated_successfully"), "success");
await utils.viewer.me.invalidate();
},
async onSettled() {
await utils.viewer.public.i18n.invalidate();
},
});
return (