Skip to content

Commit 4050b6d

Browse files
committed
fix cannot close generated mardown modal
1 parent b9fe8dd commit 4050b6d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/components/Preview.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -162,6 +162,7 @@ export const Preview = ({ scrollRef }: { scrollRef: MutableRefObject<any> }) =>
162162
width="70vw"
163163
visible={showMarkdown}
164164
onOk={toggleShowMarkdown}
165+
onCancel={toggleShowMarkdown}
165166
>
166167
<h3
167168
style={{

0 commit comments

Comments
 (0)