Skip to content

Commit

Permalink
Unused CSS classes
Browse files Browse the repository at this point in the history
  • Loading branch information
cmdcolin committed Sep 15, 2022
1 parent a5b2dab commit 3c29d5c
Showing 1 changed file with 4 additions and 14 deletions.
18 changes: 4 additions & 14 deletions products/jbrowse-desktop/src/StartScreen/RecentSessionsPanel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,26 +35,16 @@ import SessionCard from './SessionCard'

const { ipcRenderer } = window.require('electron')

const useStyles = makeStyles()(theme => ({
const useStyles = makeStyles()({
pointer: {
cursor: 'pointer',
},
formControl: {
margin: theme.spacing(2),
},

header: {
margin: theme.spacing(2),
},
toggleButton: {
'&.Mui-disabled': {
pointerEvents: 'auto',
},
},
button: {
margin: theme.spacing(2),
},
}))
})

interface RecentSessionData {
path: string
Expand Down Expand Up @@ -326,7 +316,7 @@ export default function RecentSessionPanel({
) : null}
<Grid container spacing={4} alignItems="center">
<Grid item>
<FormControl className={classes.formControl}>
<FormControl>
<ToggleButtonGroup
exclusive
value={displayMode}
Expand All @@ -342,7 +332,7 @@ export default function RecentSessionPanel({
</FormControl>
</Grid>
<Grid item>
<FormControl className={classes.formControl}>
<FormControl>
<ToggleButtonGroup>
<ToggleButtonWithTooltip
value="delete"
Expand Down

0 comments on commit 3c29d5c

Please sign in to comment.