re-add pre tags to support \n in prompt

#2880 was merged after #2968, causing a regression of #2520. This reapplies the small change from #2968 (thank you @phyzical).
This commit is contained in:
Jack Haden-Enneking 2022-03-18 14:13:21 -07:00 committed by GitHub
parent fc963bb583
commit a8064f739e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -52,7 +52,9 @@ export function PromptManager(): React.ReactElement {
return (
<Modal open={true} onClose={close}>
<Typography>{prompt.txt}</Typography>
<pre>
<Typography>{prompt.txt}</Typography>
</pre>
<PromptContent prompt={prompt} resolve={resolve} />
</Modal>
);