'use client'

/**
 * 知識 (/knowledge) — Sprint 5 整合頁面
 * 直接渲染 knowledge-base 的內容（不含 AppLayout）
 * @updated 2026-04-09 Claude Opus 4.6 — 移除 lazy import 避免 double AppLayout
 */

import { useRouter } from 'next/navigation'
import { useEffect } from 'react'

export default function KnowledgePage({ params }: { params: { locale: string } }) {
  const router = useRouter()

  useEffect(() => {
    router.replace(`/${params.locale}/knowledge-base`)
  }, [router, params.locale])

  return null
}
