Skip to content

Commit

Permalink
show user name they recognize, not id they don't, hide json form data…
Browse files Browse the repository at this point in the history
…, pretty format json data (#171)
  • Loading branch information
jimmoffet authored Jun 6, 2024
1 parent 6ff3544 commit ae80c3b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/design/src/FormManager/FormDelete/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,13 @@ export default function FormDelete({
return (
<div className="deleteFormPage grid-container">
<h1>Delete form</h1>
<h2>Are you sure you want to delete the form with id: `{formId}`?</h2>
<h2>Are you sure you want to delete the form: <span className="text-italic">{result.data.summary.title}</span>?</h2>
<p className="padding-bottom-3">
<button className="usa-button" onClick={deleteForm}>
Delete form
</button>
</p>
<code>{JSON.stringify(form, null, 4)}</code>
<details><pre><code>{JSON.stringify(form, null, 4)}</code></pre></details>
</div>
);
}

0 comments on commit ae80c3b

Please sign in to comment.