Skip to content

Commit

Permalink
Merge pull request #32 from AkinariHex/nextjs
Browse files Browse the repository at this point in the history
Fix show toast on submission
  • Loading branch information
AkinariHex authored Jan 8, 2024
2 parents 9d8cd69 + 70cb8d0 commit dab3b5d
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/actions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,10 @@ export async function saveTournamentMatches(
],
});
}
return response.json();

return {
status: 'success',
};
})
.then((data) => {
console.log(data);
Expand Down

0 comments on commit dab3b5d

Please sign in to comment.