mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 20:40:15 +02:00
allow query preview when query editor is closed
This commit is contained in:
@@ -9,7 +9,7 @@ interface JsonPreviewProps {
|
||||
export const JsonPreview = ({ value }: JsonPreviewProps) => {
|
||||
return (
|
||||
<Code block className={styles.preview} lang="json" p="md">
|
||||
{JSON.stringify(value, null, 4)}
|
||||
{JSON.stringify(value, null, 2)}
|
||||
</Code>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user