Skip to content

Commit 0e27c44

Browse files
committed
Change text of start chat button
1 parent c593ccb commit 0e27c44

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/components/consent-form/consent-form.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import {
66
MAIN_SITE_URL,
77
DECLINE_BUTTON_TEXT,
88
CONSENT_BUTTON_TEXT,
9-
NEW_CHAT_BUTTON_TEXT,
9+
START_CHAT_BUTTON_TEXT,
1010
CONSENT_STORAGE_KEY,
1111
} from '@/config/common';
1212
import NewTabLabel from '@/components/new-tab-label/new-tab-label';
@@ -49,7 +49,7 @@ export default function ConsentForm({ onContinue }: ConsentFormProps) {
4949
return (
5050
<div className={styles.card}>
5151
{hasConsent === undefined ? null : hasConsent ? (
52-
renderContinueButton(NEW_CHAT_BUTTON_TEXT, styles.startNewChatButton)
52+
renderContinueButton(START_CHAT_BUTTON_TEXT, styles.startNewChatButton)
5353
) : (
5454
<>
5555
<div className={styles.cardHeader}>

src/config/common.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ export const HELP_PAGES_BASE_URL = `${MAIN_SITE_URL}/duckduckgo-help-pages`;
55
export const EMBEDDED_TARGET_ELEMENT = 'messaging-container';
66
export const DECLINE_BUTTON_TEXT = 'Cancel';
77
export const CONSENT_BUTTON_TEXT = 'Continue to Chat';
8-
export const NEW_CHAT_BUTTON_TEXT = 'Start New Chat';
8+
export const START_CHAT_BUTTON_TEXT = 'Start Chat';
99
export const CONSENT_STORAGE_KEY = 'ddg_consent';
1010

1111
/**

0 commit comments

Comments
 (0)