* feat: reduce disruptive UI confirmations * fix: keep destructive confirmations red
8 lines
238 B
TypeScript
8 lines
238 B
TypeScript
"use client";
|
|
|
|
import { createFormContext } from "@homarr/form";
|
|
|
|
import type { WidgetEditModalState } from "../modals/widget-edit-modal";
|
|
|
|
export const [FormProvider, useFormContext, useForm] = createFormContext<WidgetEditModalState>();
|