mirror of
https://github.com/ManInDark/HabitTrove.git
synced 2026-01-21 06:34:30 +01:00
Added jotai (#14)
* Added jotai * cache settings by using jotai state * use hydrateAtom with SSR * remove useSettings * fix test
This commit is contained in:
@@ -17,7 +17,6 @@ export default function ChangelogModal({ isOpen, onClose }: ChangelogModalProps)
|
||||
if (isOpen) {
|
||||
const loadChangelog = async () => {
|
||||
const content = await getChangelog()
|
||||
console.log(content)
|
||||
setChangelog(content)
|
||||
}
|
||||
loadChangelog()
|
||||
|
||||
Reference in New Issue
Block a user