Skip to content

Commit

Permalink
#1822 fixed prettier issues
Browse files Browse the repository at this point in the history
  • Loading branch information
ansivgit committed Nov 18, 2022
1 parent 6bec1e0 commit 9bb73a3
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,8 @@ function Select({
value={value}
name={name}
multiple={multiple}
className={clsx(classes.select, className)}>
className={clsx(classes.select, className)}
>
{enumSchema(schema, (title, val) => (
<option key={val} value={val}>
{title}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ function TabPanel(props) {
role="tabpanel"
id={`scrollable-auto-tabpanel-${index}`}
aria-labelledby={`scrollable-auto-tab-${index}`}
{...other}>
{...other}
>
{value === index && children}
</div>
)
Expand Down Expand Up @@ -125,7 +126,8 @@ const FooterContent = ({ data, tab }) => (
tab === TemplateTabs.TemplateLibrary
? 'ketcher-tmpls.sdf'
: 'ketcher-fg-tmpls.sdf'
}>
}
>
{tab === TemplateTabs.TemplateLibrary
? 'Save template library to SDF'
: 'Save functional groups to SDF'}
Expand Down Expand Up @@ -207,7 +209,8 @@ const TemplateDialog: FC<Props> = (props) => {
result={() => result()}
buttons={['OK']}
buttonsNameMap={{ OK: 'Add to canvas' }}
needMargin={false}>
needMargin={false}
>
<div className={classes.inputContainer}>
<Input
className={classes.input}
Expand Down Expand Up @@ -241,12 +244,14 @@ const TemplateDialog: FC<Props> = (props) => {
square={true}
key={groupName}
onChange={handleAccordionChange(groupName)}
expanded={shouldGroupBeRended}>
expanded={shouldGroupBeRended}
>
<AccordionSummary
className={classes.accordionSummary}
expandIcon={
<Icon className={classes.expandIcon} name="chevron" />
}>
}
>
<Icon
name="elements-group"
className={classes.groupIcon}
Expand Down

0 comments on commit 9bb73a3

Please sign in to comment.