@sonordev/site-kit 2.6.1 → 2.6.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -353,6 +353,8 @@ interface UseFormReturn {
353
353
  isLoading: boolean;
354
354
  /** Error fetching form */
355
355
  fetchError: Error | null;
356
+ /** Human-readable error from the last submit attempt (null when none) */
357
+ submitError: string | null;
356
358
  /** All form fields */
357
359
  allFields: FormField$2[];
358
360
  /** Fields for current step (multi-step) or all fields (single step) */
@@ -353,6 +353,8 @@ interface UseFormReturn {
353
353
  isLoading: boolean;
354
354
  /** Error fetching form */
355
355
  fetchError: Error | null;
356
+ /** Human-readable error from the last submit attempt (null when none) */
357
+ submitError: string | null;
356
358
  /** All form fields */
357
359
  allFields: FormField$2[];
358
360
  /** Fields for current step (multi-step) or all fields (single step) */