You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by ma...@apache.org on 2022/02/04 05:24:56 UTC

[camel-karavan] branch main updated: Fixed rxjs import

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 bd80fcd  Fixed rxjs import
bd80fcd is described below

commit bd80fcd12a5543e13e3130ce4ba943346893671e
Author: Marat Gubaidullin <ma...@gmail.com>
AuthorDate: Fri Feb 4 00:24:51 2022 -0500

    Fixed rxjs import
---
 karavan-designer/src/designer/DslConnections.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/karavan-designer/src/designer/DslConnections.tsx b/karavan-designer/src/designer/DslConnections.tsx
index 46ed02e..86c22ec 100644
--- a/karavan-designer/src/designer/DslConnections.tsx
+++ b/karavan-designer/src/designer/DslConnections.tsx
@@ -18,9 +18,9 @@ import React from 'react';
 import './karavan.css';
 import {CamelElement, Integration} from "karavan-core/lib/model/CamelDefinition";
 import {DslPosition, EventBus} from "./EventBus";
-import Rx from 'karavan-core/node_modules/rxjs';
 import {CamelUi} from "./CamelUi";
 import {ComponentApi} from "karavan-core/lib/api/ComponentApi";
+import {Subscription} from "rxjs";
 
 interface Props {
     integration: Integration
@@ -31,7 +31,7 @@ interface Props {
 
 interface State {
     integration: Integration
-    sub?: Rx.Subscription
+    sub?: Subscription
     steps: Map<string, DslPosition>
 }
 
@@ -265,4 +265,4 @@ export class DslConnections extends React.Component<Props, State> {
             </div>
         );
     }
-}
\ No newline at end of file
+}