diff --git a/javascript/grid-ui/BUILD.bazel b/javascript/grid-ui/BUILD.bazel index d684d47c7535e..19a1095d13d1e 100644 --- a/javascript/grid-ui/BUILD.bazel +++ b/javascript/grid-ui/BUILD.bazel @@ -79,7 +79,6 @@ esbuild( "os", "path", "util", - "@novnc/novnc/core/rfb", ], format = "iife", minify = True, diff --git a/javascript/grid-ui/src/components/LiveView/LiveView.tsx b/javascript/grid-ui/src/components/LiveView/LiveView.tsx index 503edbaa5e54d..70b270a39eb63 100644 --- a/javascript/grid-ui/src/components/LiveView/LiveView.tsx +++ b/javascript/grid-ui/src/components/LiveView/LiveView.tsx @@ -16,7 +16,7 @@ // under the License. import React, { useEffect, useState, useImperativeHandle, forwardRef } from 'react' -import RFB from '@novnc/novnc/core/rfb' +import RFB from '@novnc/novnc/lib/rfb' import PasswordDialog from './PasswordDialog' import MuiAlert, { AlertProps } from '@mui/material/Alert' import Snackbar from '@mui/material/Snackbar'