Skip to content

Commit 13e45f7

Browse files
committed
async await
1 parent 55c029a commit 13e45f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/cli/src/pages/unsubscribe/[memberId].tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ const Unsubscribe = (props: UnsubscribeProps) => {
221221

222222
// the "Subscribe" or "Unsubscribe" button was clicked on the form with only the default list
223223
const subscribeUnsubscribeButtonClick = useCallback(
224-
(e: React.MouseEvent<HTMLElement>) => {
224+
async (e: React.MouseEvent<HTMLElement>) => {
225225
e.preventDefault();
226226
setFormSaving(true);
227227
const newFormState = onChange(defaultList.id, true)();

0 commit comments

Comments
 (0)