Skip to content

Commit

Permalink
Fixed typo (#6322)
Browse files Browse the repository at this point in the history
  • Loading branch information
raveling authored Aug 15, 2021
1 parent 27e0d19 commit e29b5e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/pages/docs/guides/hooks.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ export default config({
},
hooks: {
afterChange: ({ operation, updatedItem }) => {
if (operation === 'create) {
if (operation === 'create') {
sendWelcomeEmail(updatedItem.name, updatedItem.email);
}
}
Expand Down

1 comment on commit e29b5e4

@vercel
Copy link

@vercel vercel bot commented on e29b5e4 Aug 15, 2021

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.