Render file as readable with ext (#1446)

This commit is contained in:
Ajay Bura 2023-10-10 17:07:28 +11:00 committed by GitHub
parent 609b132106
commit 152576e85d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 58 additions and 11 deletions

View file

@ -246,7 +246,7 @@ export const MessageSourceCodeItem = as<
<Modal variant="Surface" size="500">
<TextViewer
name="Source Code"
mimeType="application/json"
langName="json"
text={text}
requestClose={handleClose}
/>