From 70ffb758c797700cb995b23d6f25d3a4cec39ab5 Mon Sep 17 00:00:00 2001 From: lebaudantoine Date: Fri, 4 Apr 2025 15:47:01 +0200 Subject: [PATCH] =?UTF-8?q?=E2=99=BB=EF=B8=8F(frontend)=20refactor=20Grist?= =?UTF-8?q?=20forms=20urls=20in=20a=20single=20constants=20file?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Consolidate all Grist forms into a single file to improve code organization and enhance maintainability. --- src/frontend/src/components/FeedbackBanner.tsx | 4 ++-- src/frontend/src/features/home/components/IntroSlider.tsx | 5 +---- .../livekit/components/controls/Options/FeedbackMenuItem.tsx | 4 ++-- src/frontend/src/utils/constants.ts | 5 ++++- 4 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/frontend/src/components/FeedbackBanner.tsx b/src/frontend/src/components/FeedbackBanner.tsx index 7fcdaf03..7dd2d00e 100644 --- a/src/frontend/src/components/FeedbackBanner.tsx +++ b/src/frontend/src/components/FeedbackBanner.tsx @@ -2,7 +2,7 @@ import { css } from '@/styled-system/css' import { RiErrorWarningLine, RiExternalLinkLine } from '@remixicon/react' import { useTranslation } from 'react-i18next' import { Text, A } from '@/primitives' -import { GRIST_FORM } from '@/utils/constants' +import { GRIST_FEEDBACKS_FORM } from '@/utils/constants' export const FeedbackBanner = () => { const { t } = useTranslation() @@ -35,7 +35,7 @@ export const FeedbackBanner = () => { gap: 0.25, })} > - + {t('feedback.cta')}