Fix linting issues

This commit is contained in:
Hri7566 2024-02-19 22:38:26 -05:00
parent 154df758e1
commit 8d729de4f1
1 changed files with 2 additions and 2 deletions

View File

@ -24,8 +24,8 @@ export const Changelog = () => {
.then((res) => {
res
.json()
.then((j) => {
setEntries((j as any).logs as LogEntry[]);
.then((j: { logs: LogEntry[] }) => {
setEntries(j.logs);
setLoaded(true);
})
.catch((err) => console.error(err));