File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
examples/next-app/components Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ export const ExampleComponent = () => {
117
117
< button
118
118
className = "rounded border border-neutral-500 p-2"
119
119
onClick = { ( ) => {
120
- disconnect ( ) ;
120
+ void disconnect ( ) ;
121
121
} }
122
122
>
123
123
Disconnect
@@ -300,7 +300,7 @@ export const ExampleComponent = () => {
300
300
< button
301
301
className = "rounded border border-red-500 p-2 text-red-500"
302
302
onClick = { ( ) => {
303
- disconnect ( ) ;
303
+ void disconnect ( ) ;
304
304
} }
305
305
>
306
306
Disconnect
Original file line number Diff line number Diff line change @@ -93,7 +93,7 @@ type ResourceStatus =
93
93
94
94
export type VoiceContextType = {
95
95
connect : ( options ?: ConnectOptions ) => Promise < void > ;
96
- disconnect : ( ) => void ;
96
+ disconnect : ( ) => Promise < void > ;
97
97
fft : number [ ] ;
98
98
isMuted : boolean ;
99
99
isAudioMuted : boolean ;
You can’t perform that action at this time.
0 commit comments