Skip to content

Commit

Permalink
Merge branch 'main' into feat/add-authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
HubbeDev authored Jan 7, 2024
2 parents 8bedd21 + 5719ffd commit a644d72
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/svelte-gravity-forms/src/lib/internal/gf.ts
Original file line number Diff line number Diff line change
Expand Up @@ -56,12 +56,12 @@ export function createSvelteGravityFroms(props: CreateGravityFromsProps) {
const formSubmtiButton = writable<GFButtonProps | undefined>(undefined);
const defaultConfirmation = writable<GFComfirmationProps>(undefined);
const isSubmitted = writable<boolean>(false);

const consumerKeyStore = writable(withDefaults.consumerKey);
const consumerSecretStore = writable(withDefaults.consumerSecret);

// Fetch form object from Gravity Forms API

// Handle form submission
// Fetch form object from Gravity Forms API
async function onSubmitForm(req: { [x: string]: unknown }) {
try {
const submit = await sendSubmission(req, backendUrl, formId);
Expand Down

0 comments on commit a644d72

Please sign in to comment.