Skip to content

Commit

Permalink
add close button to sketcher
Browse files Browse the repository at this point in the history
  • Loading branch information
janash committed Dec 13, 2023
1 parent ee1b1f9 commit 958582d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions frontend/src/components/KetcherPopup.jsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,9 @@
import React, { useEffect, useState } from 'react';

import { ThemeProvider } from '@mui/material/styles';
import React, { useState } from 'react';

import Button from '@mui/material/Button';
import Dialog from '@mui/material/Dialog';
import Slide from '@mui/material/Slide';

import { Ketcher } from 'ketcher-core';
//import { convertStructToString } from 'ketcher-core'
import { ChemicalMimeType } from 'ketcher-core';
import { StandaloneStructServiceProvider } from 'ketcher-standalone';
Expand Down Expand Up @@ -56,6 +53,7 @@ export default function FullScreenDialog({ ketcherCallBack }) {
setKetcher(ketcher)
}}
/>
<Button sx={{ my: 2 }} onClick={handleClose}>Close Sketcher</Button>
</Dialog>
</div>
);
Expand Down

0 comments on commit 958582d

Please sign in to comment.