diff --git a/src/changelog.tsx b/src/changelog.tsx index 3e1f2a7..05bad11 100644 --- a/src/changelog.tsx +++ b/src/changelog.tsx @@ -68,7 +68,7 @@ export function Changelog() { setOpen(!!changes); updateSeenVersion(); })(); - }); + }, []); return ( diff --git a/src/intro.tsx b/src/intro.tsx index 545a4e0..0d48a8b 100644 --- a/src/intro.tsx +++ b/src/intro.tsx @@ -27,7 +27,7 @@ function Contents() { setChangelog(await getChangelog(1)); updateSeenVersion(); })(); - }); + }, []); return ( <>