このコミットが含まれているのは:
2026-05-11 03:32:47 +09:00
コミット add60cb413
72個のファイルの変更1659行の追加247行の削除
+6 -2
ファイルの表示
@@ -1,3 +1,5 @@
import type { FC } from 'react'
import { useEffect, useState } from 'react'
import { Helmet } from 'react-helmet-async'
import { useLocation } from 'react-router-dom'
@@ -12,7 +14,7 @@ import { dateString } from '@/lib/utils'
import type { WikiPageChange } from '@/types'
export default () => {
const WikiHistoryPage: FC = () => {
const [changes, setChanges] = useState<WikiPageChange[]> ([])
const location = useLocation ()
@@ -23,7 +25,7 @@ export default () => {
void (async () => {
setChanges (await apiGet<WikiPageChange[]> ('/wiki/changes', { params: id ? { id } : { } }))
}) ()
}, [location.search])
}, [id, location.search])
return (
<MainArea>
@@ -73,3 +75,5 @@ export default () => {
</table>
</MainArea>)
}
export default WikiHistoryPage