mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Fix dropdown
This commit is contained in:
parent
2e650c4ad1
commit
656ac8e676
1 changed files with 14 additions and 17 deletions
|
|
@ -83,23 +83,20 @@ export const PinnedButtons = (props: PinnedButtonsProps): JSX.Element => {
|
|||
</SpanBox>
|
||||
}
|
||||
css={{}}
|
||||
children={
|
||||
<>
|
||||
<DropdownOption
|
||||
onSelect={() => {
|
||||
router.push('/settings/pinned-searches')
|
||||
}}
|
||||
title="Edit"
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => {
|
||||
setHidePinnedSearches(true)
|
||||
}}
|
||||
title="Hide"
|
||||
/>
|
||||
</>
|
||||
}
|
||||
></Dropdown>
|
||||
>
|
||||
<DropdownOption
|
||||
onSelect={() => {
|
||||
router.push('/settings/pinned-searches')
|
||||
}}
|
||||
title="Edit"
|
||||
/>
|
||||
<DropdownOption
|
||||
onSelect={() => {
|
||||
setHidePinnedSearches(true)
|
||||
}}
|
||||
title="Hide"
|
||||
/>
|
||||
</Dropdown>
|
||||
</HStack>
|
||||
)
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue