Skip to content

Commit

Permalink
Merge pull request #7239 from p12tic/www-fix-time-rerendering
Browse files Browse the repository at this point in the history
www: Fix time rerendering
  • Loading branch information
p12tic committed Dec 4, 2023
2 parents 7805a92 + 7a685de commit e7e4854
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions www/react-ui/src/stores/TimeStore.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,10 @@ import {action, makeObservable, observable} from "mobx";
import moment from "moment";

export class TimeStore {
@observable now: number;
@observable now: number = 0;

constructor() {
makeObservable(this);
this.now = 0;
}

@action setTime(now: number) {
Expand Down

0 comments on commit e7e4854

Please sign in to comment.