feat: Hook up edit Stripe settings form

This commit is contained in:
Ahmed Bouhuolia
2024-09-22 17:25:27 +02:00
parent 3308133736
commit 9827a84857
8 changed files with 71 additions and 39 deletions

View File

@@ -129,19 +129,26 @@ export function closeSidebarSubmenu() {
export function addAutofill(autofillRef: number, payload: any) {
return {
type: t.ADD_AUTOFILL_REF,
payload: { ref: autofillRef, payload }
}
payload: { ref: autofillRef, payload },
};
}
export function removeAutofill(autofillRef: number) {
return {
type: t.REMOVE_AUTOFILL_REF,
payload: { ref: autofillRef}
}
payload: { ref: autofillRef },
};
}
export function resetAutofill() {
return {
type: t.RESET_AUTOFILL_REF,
}
}
};
}
export function changePreferencesPageTitle(pageTitle: string) {
return {
type: 'CHANGE_PREFERENCES_PAGE_TITLE',
pageTitle,
};
}