mirror of
https://wget.la/https://github.com/leookun/cursor-byok
synced 2026-10-05 04:07:36 +08:00
11 lines
589 B
TypeScript
11 lines
589 B
TypeScript
import { CallTable } from "../components/CallTable";
|
|
import { PageContent } from "../components/layout/PageContent";
|
|
import { appStore, useAppStore } from "../store/appStore";
|
|
import styles from "./CallsPage.module.scss";
|
|
|
|
export function CallsPage() {
|
|
const { calls } = useAppStore();
|
|
const content = <div className={styles.page}><CallTable calls={calls} onDetails={(call) => void appStore.openCallDetails(call.call_id)} /></div>;
|
|
return <PageContent fixed title={t("调用")} contentClassName={styles.pageContent} sections={[{ key: "calls", estimatedHeight: 720, content }]} />;
|
|
}
|