Skip to content

Commit

Permalink
save
Browse files Browse the repository at this point in the history
  • Loading branch information
levi-zustiak committed Sep 20, 2024
1 parent f8d5133 commit ec83796
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,16 +101,16 @@ export function Accordion({
</Typography>
)}
</Box>
{switchProps != null && (
<Switch
sx={{ ml: 'auto', justifySelf: 'flex-end' }}
checked={switchProps.checked}
onChange={switchProps.handleToggle}
onClick={(e) => e.stopPropagation()}
inputProps={{ 'aria-label': 'controlled' }}
/>
)}
</Stack>
{switchProps != null && (
<Switch
sx={{ ml: 'auto', justifySelf: 'flex-end' }}
checked={switchProps.checked}
onChange={switchProps.handleToggle}
onClick={(e) => e.stopPropagation()}
inputProps={{ 'aria-label': 'controlled' }}
/>
)}
</AccordionSummary>
<AccordionDetails sx={{ p: 0 }}>{children}</AccordionDetails>
</MuiAccordion>
Expand Down

0 comments on commit ec83796

Please sign in to comment.