refactor: remove unnecessary class from time range buttons in Dashboard
This commit is contained in:
parent
b57b46440d
commit
9a5bf23712
@ -230,13 +230,13 @@ const Dashboard = () => {
|
||||
</div>
|
||||
|
||||
{/* Row 2: Time Range Buttons */}
|
||||
<div className="d-flex flex-wrap gap-2 mt-2">
|
||||
<div className="d-flex flex-wrap mt-2">
|
||||
{["1D", "1W", "15D", "1M", "3M", "1Y", "5Y"].map((key) => (
|
||||
<button
|
||||
key={key}
|
||||
className={`border-0 bg-transparent px-2 py-1 text-sm rounded ${
|
||||
range === key
|
||||
? "fw-bold border-bottom border-primary text-primary"
|
||||
? " border-bottom border-primary text-primary"
|
||||
: "text-muted"
|
||||
}`}
|
||||
style={{ cursor: "pointer", transition: "all 0.2s ease" }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user