diff --git a/wax-prosemirror-services/src/AiService/components/AskAIOverlay.js b/wax-prosemirror-services/src/AiService/components/AskAIOverlay.js index b1360269fa8ac3e705c95246678b0d06aa7c6400..1f499eb98521f145d051479f5eb67c2e19edb101 100644 --- a/wax-prosemirror-services/src/AiService/components/AskAIOverlay.js +++ b/wax-prosemirror-services/src/AiService/components/AskAIOverlay.js @@ -242,17 +242,17 @@ const AskAIOverlay = ({ setPosition, position, config }) => { <ActionButton onClick={tryAgain}> <ActionText> <icons.tryAgain />{' '} - {!isEmpty(i18n) && i18n.exists(`Wax.AI. Try again`) + {!isEmpty(i18n) && i18n.exists(`Wax.AI.Try again`) ? t(`Wax.AI. Try again`) - : ' Try again'} + : 'Try again'} </ActionText> </ActionButton> <ActionButton onClick={discardResults}> <ActionText color="#FF4E4E"> <icons.deleteIco />{' '} - {!isEmpty(i18n) && i18n.exists(`Wax.AI. Discard`) - ? t(`Wax.AI. Discard`) - : ' Discard'} + {!isEmpty(i18n) && i18n.exists(`Wax.AI.Discard`) + ? t(`Wax.AI.Discard`) + : 'Discard'} </ActionText> </ActionButton> </ActionSection>