Skip to content

Commit

Permalink
fix:react16
Browse files Browse the repository at this point in the history
  • Loading branch information
jawil committed Mar 1, 2019
1 parent d9da3fe commit abc5fa9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "uxcore-message",
"version": "0.5.12",
"version": "0.5.13",
"description": "uxcore-message component for uxcore.",
"repository": "https://github.com/uxcore/uxcore-message.git",
"author": "eternaslky",
Expand Down
4 changes: 3 additions & 1 deletion src/Message.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ const methods = {};
export default {
...methods,
clear() {
createMessageInstance();
setTimeout(() => {
createMessageInstance();
}, 0);
},
config(options) {
if (options) {
Expand Down

0 comments on commit abc5fa9

Please sign in to comment.