| 1 | import { useNavigate } from "react-router-dom"; |
| 2 | import { History } from "../../components/History"; |
| 3 | import { PageHeader } from "../../components/PageHeader"; |
| 4 | import { getFontSize } from "../../util"; |
| 5 | |
| 6 | export default function HistoryPage() { |
| 7 | const navigate = useNavigate(); |
| 8 | |
| 9 | return ( |
| 10 | <div |
| 11 | className="flex flex-1 flex-col overflow-auto" |
| 12 | style={{ fontSize: getFontSize() }} |
| 13 | > |
| 14 | <PageHeader showBorder onTitleClick={() => navigate("/")} title="Chat" /> |
| 15 | <History /> |
| 16 | </div> |
| 17 | ); |
| 18 | } |