Skip to content

Commit 772568b

Browse files
committed
removing dangerouslysetinnerhtml
1 parent 55cd8aa commit 772568b

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

client/src/components/Popups/WorkflowTriggerResult/WorkflowTriggerResult.jsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,9 @@ const WorkflowTriggerResult = ({ workflowInstanceUrl }) => {
2020
<div className={styles.popupContainer}>
2121
<img src={imgSuccess} alt="" />
2222
<h2>{textContent.popups.workflowTriggered.title}</h2>
23-
<p className={styles.popupMessageContainer} dangerouslySetInnerHTML={{ __html: textContent.popups.workflowTriggered.description }}></p>
23+
<p className={styles.popupMessageContainer}>
24+
See <a href='https://developers.docusign.com/docs/maestro-api/maestro101/embed-workflow/#embedded-workflow-instance-recommendations-and-restrictions' target='_blank'>Embedded workflow instance recommendations and restrictions</a>.
25+
</p>
2426
<a href={workflowInstanceUrl} target="_blank" rel="noreferrer" onClick={handleFinishTrigger}>
2527
{textContent.buttons.continue}
2628
</a>

client/src/components/WorkflowList/WorkflowList.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ const WorkflowList = ({ items, interactionType, isLoading }) => {
2424
<div className={`list-group ${styles.listGroup}`}>
2525
<div className={styles.emptyListContainer}>
2626
<h2>{textContent.workflowList.doNotHaveWorkflow}</h2>
27-
<h4 className={styles.resetStyle} dangerouslySetInnerHTML={{ __html: textContent.workflowList.pleaseCreateWorkflow }}></h4>
27+
<p>Please <a href=''>manually create a workflow</a> in your account before using the sample app.</p>
2828
</div>
2929
</div>
3030
);

0 commit comments

Comments
 (0)