Skip to content

Commit

Permalink
fix: regression on last release, type was set wrong
Browse files Browse the repository at this point in the history
  • Loading branch information
pksorensen committed Aug 26, 2024
1 parent 7bcb788 commit af3872e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/core/src/state/QuickformProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,15 @@ import { QuickFormTokens, defineQuickFormTokens } from "../style/quickFormTokens
import { QuickFormDefinition } from "../model";
import { resolveQuickFormService } from "../services/QuickFormServices";
import { isFirstQInCurrentSlide } from "../utils/isFirstQuestionInSlide";
import { ServerActionSubmitHandler } from "./action-handlers/SubmitActionHandler";

type QuickFormProviderProps = {
children: React.ReactNode;
definition: QuickFormDefinition;
tokens?: Partial<QuickFormTokens>;
payload: any;
asContainer?: boolean;
onSubmitAsync?: (formdata: any) => Promise<string>;
onSubmitAsync?: ServerActionSubmitHandler;
}

export const QuickFormProvider: React.FC<QuickFormProviderProps> = (
Expand Down

0 comments on commit af3872e

Please sign in to comment.