diff --git a/packages/frontend/src/components/global/MkTime.vue b/packages/frontend/src/components/global/MkTime.vue index 96c59b46d1..aa1360a9a7 100644 --- a/packages/frontend/src/components/global/MkTime.vue +++ b/packages/frontend/src/components/global/MkTime.vue @@ -54,6 +54,8 @@ function tick() { const next = ago < 60 ? 10000 : ago < 3600 ? 60000 : 180000; if (_now - now > next) { + // nowが代入されるとrelativeが再計算される + // relativeが再計算されると色々重たいので、nowの更新は必要以上に行わない now = _now; } }