mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-03-11 02:12:21 -05:00
Removed custom view switch functions
refs. https://github.com/TryGhost/Team/issues/3354
This commit is contained in:
parent
2eda7c3287
commit
0d1d4dc365
1 changed files with 0 additions and 10 deletions
|
@ -104,14 +104,6 @@ const DesignModal: React.FC = () => {
|
|||
alert(url);
|
||||
};
|
||||
|
||||
const onSelectDesktopView = () => {
|
||||
alert('Desktop selected');
|
||||
};
|
||||
|
||||
const onSelectMobileView = () => {
|
||||
alert('Mobile selected');
|
||||
};
|
||||
|
||||
return <PreviewModalContent
|
||||
buttonsDisabled={saveState === 'saving'}
|
||||
okLabel='Save'
|
||||
|
@ -151,8 +143,6 @@ const DesignModal: React.FC = () => {
|
|||
await handleSave();
|
||||
modal.remove();
|
||||
}}
|
||||
onSelectDesktopView={onSelectDesktopView}
|
||||
onSelectMobileView={onSelectMobileView}
|
||||
onSelectURL={onSelectURL}
|
||||
/>;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue