From a12719c3965842a8d89f690baaff26c6b06ba020 Mon Sep 17 00:00:00 2001 From: Sri Harsha Date: Fri, 3 Jan 2025 12:32:32 +0530 Subject: [PATCH] [grid-ui] Fix bazel build --- javascript/grid-ui/BUILD.bazel | 1 - javascript/grid-ui/src/components/LiveView/LiveView.tsx | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) 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'