From 95d0b70cb618b11d4dca6b9982349c3253f813d2 Mon Sep 17 00:00:00 2001 From: Matt Gallo Date: Wed, 15 Jan 2025 16:55:16 -0500 Subject: [PATCH] fix: provide default value in web terminal --- .../ibm-products/src/components/WebTerminal/WebTerminal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/ibm-products/src/components/WebTerminal/WebTerminal.tsx b/packages/ibm-products/src/components/WebTerminal/WebTerminal.tsx index e4ca4df6cc..4b31cea892 100644 --- a/packages/ibm-products/src/components/WebTerminal/WebTerminal.tsx +++ b/packages/ibm-products/src/components/WebTerminal/WebTerminal.tsx @@ -115,7 +115,7 @@ export let WebTerminal = React.forwardRef( }: WebTerminalProps, ref: ForwardedRef ) => { - const localRef = useRef(); + const localRef = useRef(null); const webTerminalRef = (ref ?? localRef) as MutableRefObject;