diff --git a/packages/editor/src/components/preview-dropdown/index.js b/packages/editor/src/components/preview-dropdown/index.js index 24b6a8550623d..b157c8cc1cfc3 100644 --- a/packages/editor/src/components/preview-dropdown/index.js +++ b/packages/editor/src/components/preview-dropdown/index.js @@ -102,15 +102,6 @@ export default function PreviewDropdown( { forceIsAutosaveable, disabled } ) { selectedChoice = choices[ 0 ]; } - /** - * Handles the selection of a device type. - * - * @param {string} value The device type. - */ - const onSelect = ( value ) => { - setDeviceType( value ); - }; - return ( { isTemplate && (