diff --git a/frontend/src/lib/components/DisplayResult.svelte b/frontend/src/lib/components/DisplayResult.svelte index 0507f3efa1..dbcd35736b 100644 --- a/frontend/src/lib/components/DisplayResult.svelte +++ b/frontend/src/lib/components/DisplayResult.svelte @@ -204,15 +204,14 @@
{result.error.stack ?? ''}
{`return {
- endpoints,
- default_args: {
- foo: "foo",
- bar: true,
- },
-}`}
-
- For enums, use `enums`, e.g:
- {`return {
- endpoints,
- enums: {
- foo: ["choice1", "choice2"]
- },
-}`}
-