feat: RSS feed and config
Some checks failed
Playwright Tests / test (push) Has been cancelled

This commit is contained in:
Loic Coenen
2025-11-02 20:36:07 +01:00
parent 9e872ea8d9
commit 77113c83e2
23 changed files with 1006 additions and 443 deletions

View File

@@ -1,4 +1,4 @@
import { useEffect, type Dispatch } from "react"
import { type Dispatch } from "react"
import { actions, type Action, type State } from "../state"
import type {Article} from "../types/article"
@@ -20,9 +20,5 @@ export const useNewsApi = ({dispatch}: UseNewsApiProps) => {
dispatch(actions.loadNewsError({ error: error as Error}));
}
})
useEffect(() => {
reloadNews()
}, [])
return { reloadNews }
}