File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -4,19 +4,15 @@ import { HTML5Backend } from 'react-dnd-html5-backend'
4
4
import { DIRECTION_COLUMN , Flex , OVERFLOW_AUTO } from '@opentrons/components'
5
5
import { PortalRoot as TopPortalRoot } from './components/portals/TopPortal'
6
6
import { ProtocolRoutes } from './ProtocolRoutes'
7
- import { useScreenSizeCheck } from './resources/useScreenSizeCheck'
8
- import { DisabledScreen } from './organisms/DisabledScreen'
9
7
10
8
function ProtocolEditorComponent ( ) : JSX . Element {
11
- const isValidSize = useScreenSizeCheck ( )
12
9
return (
13
10
< div
14
11
id = "protocol-editor"
15
12
style = { { width : '100%' , height : '100vh' , overflow : OVERFLOW_AUTO } }
16
13
>
17
14
< TopPortalRoot />
18
15
< Flex flexDirection = { DIRECTION_COLUMN } >
19
- { ! isValidSize && < DisabledScreen /> }
20
16
< HashRouter >
21
17
< ProtocolRoutes />
22
18
</ HashRouter >
Original file line number Diff line number Diff line change @@ -15,6 +15,9 @@ import {
15
15
} from '@opentrons/components'
16
16
import { getTopPortalEl } from '../../components/portals/TopPortal'
17
17
18
+ // Note: We decided not to use this component for the release.
19
+ // We will find out a better way to handle responsiveness with user's screen size issue.
20
+ // This component may be used in the future. If not, we will remove it.
18
21
export function DisabledScreen ( ) : JSX . Element {
19
22
const { t } = useTranslation ( 'shared' )
20
23
You can’t perform that action at this time.
0 commit comments