diff --git a/frontend/src/pages/Admin/Components/Faq/Q&A/QandA.jsx b/frontend/src/pages/Admin/Components/Faq/Q&A/QandA.jsx index aa8d1ead..8df877bb 100644 --- a/frontend/src/pages/Admin/Components/Faq/Q&A/QandA.jsx +++ b/frontend/src/pages/Admin/Components/Faq/Q&A/QandA.jsx @@ -7,7 +7,7 @@ import { hideToast } from "../../../../../service/toastService"; export function QandA({ setTab, setQId, tab }) { const [cards, setCards] = useState([]); - const [isLoaded,setIsLoaded] = useState(false) + const [isLoaded, setIsLoaded] = useState(false); const [toast, setToast] = useState({ toastStatus: false, toastType: "", @@ -47,8 +47,10 @@ export function QandA({ setTab, setQId, tab }) {
Status
{`${d.isApproved ? "Approved" : "Not Approved"}`}
- {d.tags.map((tag) => ( -

{tag}

+ {d.tags.map((tag, idx) => ( +

+ {tag.value || tag} +

))}