Skip to content

Commit e391fcd

Browse files
author
John Rogers
committed
Reenabled the search button to go to discovery
1 parent 4ac3fef commit e391fcd

1 file changed

Lines changed: 3 additions & 14 deletions

File tree

src/components/HarmonySidebar.js

Lines changed: 3 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -228,12 +228,7 @@ export default function HarmonySidebar() {
228228

229229
return (
230230
<ListItemButton
231-
disabled={
232-
item.text !== "Search" &&
233-
["Browse", "Explore", "Compare", "Saves"].includes(item.text)
234-
? false
235-
: isExternal
236-
}
231+
237232
key={item.text}
238233
component={isExternal ? "a" : Link}
239234
href={isExternal ? item.href : undefined}
@@ -384,14 +379,8 @@ export default function HarmonySidebar() {
384379
return (
385380
<ListItem key={item.text} disablePadding>
386381
<ListItemButton
387-
disabled={
388-
item.text !== "Search" &&
389-
["Browse", "Explore", "Compare", "Saves"].includes(
390-
item.text
391-
)
392-
? false
393-
: isExternal
394-
}
382+
383+
395384
component={isExternal ? "a" : Link}
396385
href={isExternal ? item.href : undefined}
397386
to={isExternal ? undefined : item.href}

0 commit comments

Comments
 (0)