Skip to content

Commit

Permalink
fix listenRemote type error
Browse files Browse the repository at this point in the history
  • Loading branch information
chenshuai2144 committed Oct 9, 2019
1 parent abf352c commit 85106d2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ const Adder: React.FC<AdderProps> = props => {
* 成功之后清理状态
*/
api.listenRemote({
type: 'org.umi.block.add-blocks-',
type: 'org.umi.block.add-blocks-success',
onMessage: msg => {
setTaskLoading(false);
onAddBlockChange(undefined);
Expand Down

0 comments on commit 85106d2

Please sign in to comment.