diff options
Diffstat (limited to 'modern/src/settings/CommandSendPage.js')
-rw-r--r-- | modern/src/settings/CommandSendPage.js | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/modern/src/settings/CommandSendPage.js b/modern/src/settings/CommandSendPage.js index 79de1b84..f7e62b24 100644 --- a/modern/src/settings/CommandSendPage.js +++ b/modern/src/settings/CommandSendPage.js @@ -5,9 +5,10 @@ import { } from '@material-ui/core'; import ExpandMoreIcon from '@material-ui/icons/ExpandMore'; import { useTranslation } from '../common/components/LocalizationProvider'; -import OptionsLayout from './components/OptionsLayout'; import BaseCommandView from './components/BaseCommandView'; import SelectField from '../common/components/SelectField'; +import PageLayout from '../common/components/PageLayout'; +import SettingsMenu from './components/SettingsMenu'; const useStyles = makeStyles((theme) => ({ container: { @@ -62,7 +63,7 @@ const CommandSendPage = () => { const validate = () => savedId || (item && item.type); return ( - <OptionsLayout> + <PageLayout menu={<SettingsMenu />} breadcrumbs={['settingsTitle', 'deviceCommand']}> <Container maxWidth="xs" className={classes.container}> <Accordion defaultExpanded> <AccordionSummary expandIcon={<ExpandMoreIcon />}> @@ -108,7 +109,7 @@ const CommandSendPage = () => { </div> </FormControl> </Container> - </OptionsLayout> + </PageLayout> ); }; |