mirror of
https://github.com/misskey-dev/misskey.git
synced 2025-01-30 03:52:15 +09:00
fix: reactivity transform
This commit is contained in:
parent
5f85527e7d
commit
f9e3394b46
@ -149,9 +149,9 @@ let sOneRound = false;
|
|||||||
function tick() {
|
function tick() {
|
||||||
const now = props.now();
|
const now = props.now();
|
||||||
now.setMinutes(now.getMinutes() + now.getTimezoneOffset() + props.offset);
|
now.setMinutes(now.getMinutes() + now.getTimezoneOffset() + props.offset);
|
||||||
const previousS = s.value;
|
const previousS = s;
|
||||||
const previousM = m.value;
|
const previousM = m;
|
||||||
const previousH = h.value;
|
const previousH = h;
|
||||||
s = now.getSeconds();
|
s = now.getSeconds();
|
||||||
m = now.getMinutes();
|
m = now.getMinutes();
|
||||||
h = now.getHours();
|
h = now.getHours();
|
||||||
|
Loading…
Reference in New Issue
Block a user