Skip to content

Commit 042e1b5

Browse files
committed
back-button theme
1 parent 700cf93 commit 042e1b5

1 file changed

Lines changed: 7 additions & 10 deletions

File tree

src/pages/dashboard/index.tsx

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -453,7 +453,7 @@ const DashboardContent: React.FC = () => {
453453
onClick={() => history.goBack()}
454454
aria-label="Go back"
455455
>
456-
<ArrowLeft size={20} />
456+
<ArrowLeft />
457457
</button>
458458
</div>
459459
<div className="sidebar-nav">
@@ -559,25 +559,22 @@ const DashboardContent: React.FC = () => {
559559
<div className="discussion-tabs">
560560
<button
561561
onClick={() => handleDiscussionTabChange("discussions")}
562-
className={`tab-button ${
563-
activeDiscussionTab === "discussions" ? "active" : ""
564-
}`}
562+
className={`tab-button ${activeDiscussionTab === "discussions" ? "active" : ""
563+
}`}
565564
>
566565
<MessageCircle size={18} /> All Discussions
567566
</button>
568567
<button
569568
onClick={() => handleDiscussionTabChange("trending")}
570-
className={`tab-button ${
571-
activeDiscussionTab === "trending" ? "active" : ""
572-
}`}
569+
className={`tab-button ${activeDiscussionTab === "trending" ? "active" : ""
570+
}`}
573571
>
574572
<TrendingUp size={18} /> Trending
575573
</button>
576574
<button
577575
onClick={() => handleDiscussionTabChange("unanswered")}
578-
className={`tab-button ${
579-
activeDiscussionTab === "unanswered" ? "active" : ""
580-
}`}
576+
className={`tab-button ${activeDiscussionTab === "unanswered" ? "active" : ""
577+
}`}
581578
>
582579
<HelpCircle size={18} /> Unanswered
583580
</button>

0 commit comments

Comments
 (0)