Skip to content

Commit

Permalink
restoring up and down chevrons (#1690)
Browse files Browse the repository at this point in the history
  • Loading branch information
shanbady authored Oct 16, 2024
1 parent f0211ef commit 885f40c
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ import {
RiArrowLeftLine,
RiArrowRightLine,
RiEqualizerLine,
RiArrowUpSLine,
RiArrowDownSLine,
} from "@remixicon/react"

import {
Expand Down Expand Up @@ -690,8 +692,6 @@ const SearchDisplay: React.FC<SearchDisplayProps> = ({
expandAdminOptions,
setExpandAdminOptions,
) => {
const titleLineIcon = expandAdminOptions ? "expand_less" : "expand_more"

return (
<div
className={`facets admin-facet base-facet${expandAdminOptions ? " facets-expanded" : ""}`}
Expand All @@ -703,8 +703,8 @@ const SearchDisplay: React.FC<SearchDisplayProps> = ({
onClick={() => setExpandAdminOptions(!expandAdminOptions)}
>
Admin Options
<i className={`material-icons ${titleLineIcon}`} aria-hidden="true">
{titleLineIcon}
<i aria-hidden="true">
{expandAdminOptions ? <RiArrowUpSLine /> : <RiArrowDownSLine />}
</i>
</button>
{expandAdminOptions ? (
Expand Down

0 comments on commit 885f40c

Please sign in to comment.