Skip to content

Commit

Permalink
fix UI flashing
Browse files Browse the repository at this point in the history
Signed-off-by: Yulong Ruan <[email protected]>
  • Loading branch information
ruanyl committed Sep 27, 2024
1 parent 25442d1 commit 9478056
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions public/components/visualization/text2vega.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ export class Text2Vega {
this.result$ = this.input$
.pipe(
filter((v) => v.prompt.length > 0),
debounceTime(200),
tap(() => this.status$.next('RUNNING'))
tap(() => this.status$.next('RUNNING')),
debounceTime(200)
)
.pipe(
switchMap((v) =>
Expand Down

0 comments on commit 9478056

Please sign in to comment.