Skip to content

Commit 03a3950

Browse files
committed
docs: clean
1 parent 4f8506e commit 03a3950

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ const Child = () => {
4141
{
4242
title: 'Ok',
4343
buttonProps: { color: 'primary' },
44-
onClick: async () => {
44+
onClick: () => {
4545
alert('callback button Ok');
4646
DialogAlert.hide();
4747
},

example/src/App.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const Child = () => {
2222
{
2323
title: 'Ok',
2424
buttonProps: { color: 'primary' },
25-
onClick: async () => {
25+
onClick: () => {
2626
alert('callback button Ok :)');
2727
DialogAlert.hide();
2828
},

0 commit comments

Comments
 (0)