refactor: consolidate shared application helpers

This commit is contained in:
2026-07-29 12:28:51 +07:00 Unverified
parent 1fb154b465
commit 6b0440602b
14 changed files with 45 additions and 45 deletions
+1 -1
View File
@@ -28,7 +28,7 @@ import {
AlertDialogTrigger,
} from "@/components/ui/alert-dialog";
import { Spinner } from "@/components/ui/spinner";
import { getErrorMessage } from "@/lib/errors";
import { getErrorMessage } from "@/lib/utils";
interface DeleteFormButtonProps {
formId: string;
+1 -1
View File
@@ -3,7 +3,7 @@
import type { ComponentProps, MouseEvent } from "react";
import Link from "next/link";
import { useRouter } from "next/navigation";
import { flushPendingSaves } from "@/lib/admin-form-save-bridge";
import { flushPendingSaves } from "@/hooks/use-debounced-autosave";
export function GuardedLink({
href,