File tree Expand file tree Collapse file tree 1 file changed +2
-8
lines changed
examples/gauge/Components Expand file tree Collapse file tree 1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -78,10 +78,6 @@ export class InterfaceSample extends DisplayComponent<InterfaceSampleProps> {
7878 )
7979 }
8080
81- public onBeforeRender ( ) : void {
82- super . onBeforeRender ( )
83- }
84-
8581 public onAfterRender ( node : VNode ) : void {
8682 super . onAfterRender ( node )
8783
@@ -92,11 +88,9 @@ export class InterfaceSample extends DisplayComponent<InterfaceSampleProps> {
9288 console . time ( "query" )
9389 this . navigationDataInterface
9490 . get_airport ( this . inputRef . instance . value )
95- . then ( airport => {
96- console . info ( airport )
97- console . timeEnd ( "query" )
98- } )
91+ . then ( airport => console . info ( airport ) )
9992 . catch ( e => console . error ( e ) )
93+ . finally ( ( ) => console . timeEnd ( "query" ) )
10094 } )
10195
10296 AuthService . user . sub ( user => {
You can’t perform that action at this time.
0 commit comments