このコミットが含まれているのは:
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, useParams } from 'react-router-dom'
@@ -11,7 +13,7 @@ import { cn } from '@/lib/utils'
import type { WikiPageDiff } from '@/types'
export default () => {
const WikiDiffPage: FC = () => {
const { id } = useParams ()
const location = useLocation ()
@@ -26,7 +28,7 @@ export default () => {
void (async () => {
setDiff (await apiGet<WikiPageDiff> (`/wiki/${ id }/diff`, { params: { from, to } }))
}) ()
}, [])
}, [from, id, to])
return (
<MainArea>
@@ -46,3 +48,5 @@ export default () => {
</div>
</MainArea>)
}
export default WikiDiffPage