Skip to content

Commit

Permalink
fix(desktop): default resolve no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
Stormix committed Dec 28, 2024
1 parent b9a39e0 commit 6147e7f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/desktop/src/components/providers/alert-dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ export const AlertDialogProvider = ({ children }: { children: React.ReactNode })
actionButtonVariant: 'default'
});

const resolveRef = React.useRef<(tf: any) => void>();
const resolveRef = React.useRef<(tf: any) => void>(() => {});

const close = () => {
dispatch({ type: 'close' });
Expand Down

1 comment on commit 6147e7f

@vercel
Copy link

@vercel vercel bot commented on 6147e7f Dec 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.