Remove some fluff
This commit is contained in:
@@ -27,9 +27,6 @@ const JsonEditor = ({
|
||||
|
||||
const formatJson = (json: string): string => {
|
||||
try {
|
||||
// Handle empty arrays and objects specifically
|
||||
if (json.trim() === "[]") return "[]";
|
||||
if (json.trim() === "{}") return "{}";
|
||||
return JSON.stringify(JSON.parse(json), null, 2);
|
||||
} catch {
|
||||
return json;
|
||||
|
||||
2
package-lock.json
generated
2
package-lock.json
generated
@@ -35,8 +35,8 @@
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@modelcontextprotocol/sdk": "^1.4.1",
|
||||
"@radix-ui/react-dialog": "^1.1.3",
|
||||
"@radix-ui/react-checkbox": "^1.1.4",
|
||||
"@radix-ui/react-dialog": "^1.1.3",
|
||||
"@radix-ui/react-icons": "^1.3.0",
|
||||
"@radix-ui/react-label": "^2.1.0",
|
||||
"@radix-ui/react-popover": "^1.1.3",
|
||||
|
||||
Reference in New Issue
Block a user