0
Fork 0
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:
Peter Zimon 2023-06-08 08:03:53 +02:00
parent 2eda7c3287
commit 0d1d4dc365

View file

@ -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}
/>;
};