Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading