Add basic server activity log view

This commit is contained in:
DaneEveritt 2022-06-12 15:16:48 -04:00
parent 0b4936ff1c
commit 2f1c8ae91d
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
8 changed files with 153 additions and 2 deletions

View file

@ -19,7 +19,9 @@ export default ({ meta }: { meta: Record<string, unknown> }) => {
hideCloseIcon
title={'Metadata'}
>
<pre>{JSON.stringify(meta, null, 2)}</pre>
<pre className={'bg-gray-900 rounded p-2 overflow-x-scroll font-mono text-sm leading-relaxed'}>
{JSON.stringify(meta, null, 2)}
</pre>
<Dialog.Buttons>
<Button.Text onClick={() => setOpen(false)}>Close</Button.Text>
</Dialog.Buttons>