This is an automated email from the ASF dual-hosted git repository.
marat pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-karavan.git
The following commit(s) were added to refs/heads/main by this push:
new 2874ccad "react": "18.3.1" because Patternfly does not support 19 yet
2874ccad is described below
commit 2874ccad2697a85ca7b7a4f833e3d945f9aa773f
Author: Marat Gubaidullin <[email protected]>
AuthorDate: Mon Dec 1 12:39:42 2025 -0500
"react": "18.3.1" because Patternfly does not support 19 yet
---
.../webui/src/integration-designer/route/element/DslElementHeader.tsx | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/karavan-app/src/main/webui/src/integration-designer/route/element/DslElementHeader.tsx
b/karavan-app/src/main/webui/src/integration-designer/route/element/DslElementHeader.tsx
index 9014275d..9959869b 100644
---
a/karavan-app/src/main/webui/src/integration-designer/route/element/DslElementHeader.tsx
+++
b/karavan-app/src/main/webui/src/integration-designer/route/element/DslElementHeader.tsx
@@ -32,7 +32,7 @@ import {AutoStartupFalseIcon, ErrorHandlerIcon} from
"../../icons/OtherIcons";
import {usePropertiesHook} from "../../property/usePropertiesHook";
interface Props {
- headerRef: React.Ref<HTMLDivElement> | undefined
+ headerRef?: React.Ref<HTMLDivElement>;
step: CamelElement,
parent: CamelElement | undefined,
nextStep: CamelElement | undefined,
@@ -67,7 +67,7 @@ export function DslElementHeader(props: Props) {
const disabled = (step as any).disabled === true;
const autoStartup = (step as any).autoStartup === undefined || (step as
any).autoStartup === true;
- const localHeaderRef = useRef<HTMLDivElement>(null);
+ const localHeaderRef = useRef<HTMLDivElement | null>(null);
// Merge any incoming ref into our local ref
const mergedRef = useCallback(