File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 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' ;
1212import 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 } >
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ export const HELP_PAGES_BASE_URL = `${MAIN_SITE_URL}/duckduckgo-help-pages`;
55export const EMBEDDED_TARGET_ELEMENT = 'messaging-container' ;
66export const DECLINE_BUTTON_TEXT = 'Cancel' ;
77export 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' ;
99export const CONSENT_STORAGE_KEY = 'ddg_consent' ;
1010
1111/**
You can’t perform that action at this time.
0 commit comments