import { Button } from "@/components/ui/button" import { getCurrentUser } from "@/lib/auth" import { resetFieldsAndCategories, resetLLMSettings } from "./actions" export default async function DangerSettingsPage() { const user = await getCurrentUser() return (

The Danger Zone

The settings here will overwrite your existing fields, categories and prompts. Use them only if something is broken.

LLM settings

This will reset the system prompt and other LLM settings to their default values

{ "use server" await resetLLMSettings(user) }} >

Fields, currencies and categories

This will reset all fields, currencies and categories to their default values

{ "use server" await resetFieldsAndCategories(user) }} >
) }