diff --git a/surfsense_web/app/dashboard/[workspace_id]/playground/components/api-reference.tsx b/surfsense_web/app/dashboard/[workspace_id]/playground/components/api-reference.tsx index 05434b953..ba7312d7b 100644 --- a/surfsense_web/app/dashboard/[workspace_id]/playground/components/api-reference.tsx +++ b/surfsense_web/app/dashboard/[workspace_id]/playground/components/api-reference.tsx @@ -2,6 +2,7 @@ import { Check, ChevronRight, Copy } from "lucide-react"; import { useMemo, useState } from "react"; +import { JsonView } from "@/components/json-view"; import { Button } from "@/components/ui/button"; import { Tabs, TabsContent, TabsList, TabsTrigger } from "@/components/ui/tabs"; import { BACKEND_URL } from "@/lib/env-config"; @@ -51,9 +52,9 @@ function SchemaBlock({ title, schema }: { title: string; schema: Record
-
-					{json}
-				
+
+ +
);