Merge pull request #3171 from jacktose-forks/patch-1

re-add pre tags to support \n in prompt
This commit is contained in:
hydroflame 2022-03-18 23:31:26 -04:00 committed by GitHub
commit 5a860ae5b0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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