Skip to content

Commit 6ee32fb

Browse files
committed
fix: event not firing
1 parent 673f8da commit 6ee32fb

File tree

1 file changed

+3
-3
lines changed
  • packages/vue/src/components/search/addons

1 file changed

+3
-3
lines changed

packages/vue/src/components/search/addons/Mic.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -112,12 +112,12 @@ const Mic = {
112112
const { className } = this.$props;
113113
switch (status) {
114114
case STATUS.active:
115-
return <ListenSvg className={className} nativeOnClick={this.handleClick} />;
115+
return <ListenSvg className={className} onClick={this.handleClick} />;
116116
case STATUS.stopped:
117117
case STATUS.denied:
118-
return <MuteSvg className={className} nativeOnClick={this.handleClick} />;
118+
return <MuteSvg className={className} onClick={this.handleClick} />;
119119
default:
120-
return <MicSvg className={className} nativeOnClick={this.handleClick} />;
120+
return <MicSvg className={className} onClick={this.handleClick} />;
121121
}
122122
},
123123
},

0 commit comments

Comments
 (0)