File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -129,11 +129,11 @@ export default class HdsTime extends Component<HdsTimeSignature> {
129129 }
130130
131131 @action
132- async didInsertNode ( ) : Promise < void > {
132+ didInsertNode ( ) : void {
133133 const date = this . date ;
134134
135135 if ( dateIsValid ( date ) ) {
136- await this . hdsTime . register ( date ) ;
136+ this . hdsTime . register ( date ) ;
137137 }
138138 }
139139
Original file line number Diff line number Diff line change @@ -225,10 +225,10 @@ export default class TimeService extends Service {
225225 }
226226
227227 // Subscribes a listener to the ticking task for time changes.
228- async register ( id : Date ) : Promise < ( ) => void > {
228+ register ( id : Date ) : ( ) => void {
229229 this . #listeners. add ( id ) ;
230230
231- await this . start . perform ( ) ;
231+ void this . start . perform ( ) ;
232232
233233 return ( ) : void => {
234234 this . unregister ( id ) ;
You can’t perform that action at this time.
0 commit comments