diff --git a/.github/workflows/slack-notifiaction.yml b/.github/workflows/slack-notifiaction.yml
index c6573daa0..b10f7765a 100644
--- a/.github/workflows/slack-notifiaction.yml
+++ b/.github/workflows/slack-notifiaction.yml
@@ -9,7 +9,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
- node-version: [18.x]
+ node-version: [22.x]
steps:
- name: Checkout
diff --git a/next-env.d.ts b/next-env.d.ts
index 2d5420eba..c05d9f7d6 100644
--- a/next-env.d.ts
+++ b/next-env.d.ts
@@ -1,7 +1,7 @@
///
{textContent.description}
{textContent.cta} diff --git a/src/components/temp-email/HeroSection.tsx b/src/components/temp-email/HeroSection.tsx index f0eb0c126..bb2f099ae 100644 --- a/src/components/temp-email/HeroSection.tsx +++ b/src/components/temp-email/HeroSection.tsx @@ -26,7 +26,7 @@ import DOMPurify from 'dompurify'; import Image from 'next/image'; import { getImage } from '@/lib/getImage'; -export const HeroSection = ({ textContent, lang }) => { +export const HeroSection = ({ textContent }) => { const isFocused = useWindowFocus(); const { state, setUser, setBorderColor, setIsChangeEmailIconAnimated, setMessages, setSelectedMessage } = @@ -222,25 +222,17 @@ export const HeroSection = ({ textContent, lang }) => { await getNewEmail(); }; - const languageForImage = ['zh', 'zh-tw', 'ru', 'en'].includes(lang) ? 'en' : lang; - return ({textContent.whatIsTempMail.title}
{textContent.whatIsTempMail.description}
@@ -109,7 +82,7 @@ export const InfoSection = ({ textContent, bannerText, lang }) => {{textContent.whenUseTempMail.title}
{textContent.whenUseTempMail.description}