mirror of
https://github.com/prymitive/karma
synced 2026-05-07 03:26:52 +00:00
fix(ui): initialize timeNow so it's always set on initial render
This commit is contained in:
@@ -182,7 +182,7 @@ const DateTimeSelect = observer(
|
||||
setDuration() {
|
||||
this.current = TabNames.Duration;
|
||||
},
|
||||
timeNow: null,
|
||||
timeNow: moment().seconds(0),
|
||||
updateTimeNow() {
|
||||
this.timeNow = moment().seconds(0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user