Skip to content

Commit

Permalink
Fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
spaceman03 committed Sep 23, 2024
1 parent 093c368 commit d8dad27
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/cms/src/admin/views/MerchProducts.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ const MerchProducts: AdminViewComponent = ({ user, canAccessAdmin }) => {
renderCell: (data: Product) => (
<Button onClick={() => {
void (async () => {

Check failure on line 98 in apps/cms/src/admin/views/MerchProducts.tsx

View workflow job for this annotation

GitHub Actions / Lint, Build and Test

Async arrow function has no 'await' expression
await handleDelete(data);
handleDelete(data);
})();
}}
>Delete</Button>
Expand Down

0 comments on commit d8dad27

Please sign in to comment.