Skip to content

Commit f4ef550

Browse files
committed
Add note about google translate on error page
1 parent baff5af commit f4ef550

File tree

1 file changed

+8
-0
lines changed
  • services/backend-api/client/src/components/ErrorAlert

1 file changed

+8
-0
lines changed

services/backend-api/client/src/components/ErrorAlert/index.tsx

+8
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@ interface Props {
99
export const ErrorAlert: React.FC<Props> = ({ description }) => {
1010
const { t } = useTranslation();
1111

12+
const isGoogleTranslateUsed = !!document.getElementById("goog-gt-tt");
13+
1214
return (
1315
<Stack
1416
display="flex"
@@ -33,6 +35,12 @@ export const ErrorAlert: React.FC<Props> = ({ description }) => {
3335
<Stack>
3436
<Text color="gray.400">{t("common.errors.detailsTitle")}</Text>
3537
<Text>{description}</Text>
38+
{isGoogleTranslateUsed && (
39+
<Text>
40+
If you are using Google Translate and are facing persistent issues, you may try
41+
disabling it as there are known issues with it.
42+
</Text>
43+
)}
3644
</Stack>
3745
</>
3846
)}

0 commit comments

Comments
 (0)