Skip to content

Commit

Permalink
Switch
Browse files Browse the repository at this point in the history
  • Loading branch information
gschier committed Feb 6, 2025
1 parent 4424706 commit eca51cc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src-web/components/CookieDropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { useDeleteCookieJar } from '../hooks/useDeleteCookieJar';
import { useUpdateCookieJar } from '../hooks/useUpdateCookieJar';
import { showDialog } from '../lib/dialog';
import { showPrompt } from '../lib/prompt';
import {setWorkspaceSearchParams} from "../lib/setWorkspaceSearchParams";
import { setWorkspaceSearchParams } from '../lib/setWorkspaceSearchParams';
import { CookieDialog } from './CookieDialog';
import { Dropdown, type DropdownItem } from './core/Dropdown';
import { Icon } from './core/Icon';
Expand Down Expand Up @@ -76,7 +76,7 @@ export const CookieDropdown = memo(function CookieDropdown() {
label: 'Delete',
leftSlot: <Icon icon="trash" />,
color: 'danger',
onSelect: () => deleteCookieJar.mutateAsync(),
onSelect: deleteCookieJar.mutate,
},
]
: []) as DropdownItem[]),
Expand Down

0 comments on commit eca51cc

Please sign in to comment.