Wrap knowledge tab in conditional
cgen-86b1689620204489a722504fd2233ac6
This commit is contained in:
parent
b272ea7ff6
commit
0601664c1d
1 changed files with 3 additions and 1 deletions
|
|
@ -1963,7 +1963,8 @@ export default function Community() {
|
|||
</TabsContent>
|
||||
)}
|
||||
|
||||
<TabsContent value="knowledge" className="mt-0">
|
||||
{activeTab === "knowledge" && (
|
||||
<TabsContent value="knowledge" className="mt-0">
|
||||
{/* Knowledge Base */}
|
||||
<section className="py-20">
|
||||
<div className="container mx-auto px-4">
|
||||
|
|
@ -2058,6 +2059,7 @@ export default function Community() {
|
|||
</div>
|
||||
</section>
|
||||
</TabsContent>
|
||||
)}
|
||||
|
||||
<TabsContent value="mentorship" className="mt-0">
|
||||
{/* Mentorship Program */}
|
||||
|
|
|
|||
Loading…
Reference in a new issue