Skip to content

Commit

Permalink
fix(web-ui): fix typo (#971)
Browse files Browse the repository at this point in the history
Co-authored-by: Johan Book <{ID}+{username}@users.noreply.github.com>
  • Loading branch information
johanbook and Johan Book authored Nov 24, 2024
1 parent 3e9a640 commit b607a03
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ export function OrganizationSettings({
return <></>;
}

async function handleDelete(event: SyntheticEvent): Promise<void> {
async function handleSubmit(event: SyntheticEvent): Promise<void> {
event.preventDefault();

const { data } = form.validate();
Expand All @@ -68,7 +68,7 @@ export function OrganizationSettings({
});
}

async function handleSubmit(event: SyntheticEvent): Promise<void> {
async function handleDelete(event: SyntheticEvent): Promise<void> {
event.preventDefault();

await deleteMutation.mutateAsync(undefined, {
Expand Down

0 comments on commit b607a03

Please sign in to comment.