import { Col, Row } from "antd"; import { useNavigate } from "react-router"; import { fullUrl } from "../../utils"; import AnthologyDetail from "../anthology/AnthologyDetail"; import type { TTarget } from "../../types"; interface IWidget { anthologyId?: string; courseId?: string; } const TextBookWidget = ({ anthologyId, courseId }: IWidget) => { const navigate = useNavigate(); console.log("anthologyId", anthologyId); return (