Skip to content

Commit 2f987ce

Browse files
committed
Fix ProfilerHeader lint
1 parent 5a59bb9 commit 2f987ce

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

webapp/javascript/components/ProfilerHeader.jsx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,21 +34,21 @@ export default function ProfilerHeader({
3434
<div className="navbar-space-filler" />
3535
<div className="btn-group viz-switch">
3636
<button
37-
className={clsx("btn", { active: view == "table" })}
37+
className={clsx("btn", { active: view === "table" })}
3838
onClick={() => updateView("table")}
3939
>
4040
<FontAwesomeIcon icon={faBars} />
4141
&nbsp;&thinsp;Table
4242
</button>
4343
<button
44-
className={clsx("btn", { active: view == "both" })}
44+
className={clsx("btn", { active: view === "both" })}
4545
onClick={() => updateView("both")}
4646
>
4747
<FontAwesomeIcon icon={faColumns} />
4848
&nbsp;&thinsp;Both
4949
</button>
5050
<button
51-
className={clsx("btn", { active: view == "icicle" })}
51+
className={clsx("btn", { active: view === "icicle" })}
5252
onClick={() => updateView("icicle")}
5353
>
5454
<FontAwesomeIcon icon={faIcicles} />

0 commit comments

Comments
 (0)