Skip to content

Commit dad57ee

Browse files
committed
Make passing open prop to dialog optional
1 parent aa5118c commit dad57ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/src/lib/open-diff-dialog.svelte.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import { createTwoFilesPatch } from "diff";
1111
export const PATCH_URL_PARAM = "patch_url";
1212

1313
export interface OpenDiffDialogProps {
14-
open: boolean;
14+
open?: boolean;
1515
}
1616

1717
export type OpenDiffDialogStateProps = WritableBoxedValues<{

0 commit comments

Comments
 (0)