mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-18 22:44:26 +01:00
update
This commit is contained in:
@@ -2,6 +2,7 @@ import { createSignal, type Accessor } from 'solid-js';
|
||||
|
||||
const [currentDate, setCurrentDate] = createSignal(new Date());
|
||||
|
||||
// 7 seconds is used for the interval so that the last digit of relative time is changed.
|
||||
setInterval(() => {
|
||||
setCurrentDate(new Date());
|
||||
}, 7000);
|
||||
|
||||
Reference in New Issue
Block a user