Skip to content

Commit

Permalink
fix: Fix temp live update
Browse files Browse the repository at this point in the history
  • Loading branch information
jniebuhr committed Nov 28, 2024
1 parent 168b55d commit 50c9803
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 1 addition & 0 deletions data/assets/index-BV8L23fB.js

Large diffs are not rendered by default.

1 change: 0 additions & 1 deletion data/assets/index-iZSn8neb.js

This file was deleted.

2 changes: 1 addition & 1 deletion data/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<title>Gaggimate Web UI</title>
<script type="module" crossorigin src="/assets/index-iZSn8neb.js"></script>
<script type="module" crossorigin src="/assets/index-BV8L23fB.js"></script>
<link rel="stylesheet" crossorigin href="/assets/index-Cr9lvfbR.css">
</head>
<body class="bg-white px-6">
Expand Down
3 changes: 1 addition & 2 deletions web/src/pages/Home/index.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,10 @@ const modeMap = {
const gen = signal(0);

export function Home() {
const [gen, setGen] = useState(0);
effect(() => {
const intervalId = setInterval(() => {
gen.value ++;
}, 1000);
}, 5000);

return () => {
clearInterval(intervalId);
Expand Down

0 comments on commit 50c9803

Please sign in to comment.