chore: update placeholder

This commit is contained in:
Faisal Amir 2025-08-18 12:17:24 +07:00
parent d2cc9cc13b
commit 1eb1bb91ce

View File

@ -373,14 +373,14 @@ export default function AddEditMCPServer({
value={jsonContent} value={jsonContent}
language="json" language="json"
placeholder={`{ placeholder={`{
"serverName": { "serverName": {
"command": "command", "command": "command",
"args": ["arg1", "arg2"], "args": ["arg1", "arg2"],
"env": { "env": {
"KEY": "value" "KEY": "value"
} }
} }
}`} }`}
onChange={(e) => { onChange={(e) => {
setJsonContent(e.target.value) setJsonContent(e.target.value)
setError(null) setError(null)