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

commit a2f5e150a5cafb3ace5069b55cf2a042c3746bf7
Author: Marat Gubaidullin <marat.gubaidul...@gmail.com>
AuthorDate: Tue Aug 8 10:18:22 2023 -0400

    Fix #845
---
 karavan-designer/src/designer/route/RouteDesigner.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/karavan-designer/src/designer/route/RouteDesigner.tsx 
b/karavan-designer/src/designer/route/RouteDesigner.tsx
index e174831d..db2662e0 100644
--- a/karavan-designer/src/designer/route/RouteDesigner.tsx
+++ b/karavan-designer/src/designer/route/RouteDesigner.tsx
@@ -146,7 +146,7 @@ export class RouteDesigner extends React.Component<Props, 
RouteDesignerState> {
 
     getPropertiesPanel() {
         return (
-            <DrawerPanelContent onResize={width => this.setState({key: 
Math.random().toString(1)})}
+            <DrawerPanelContent onResize={width => this.setState({key: 
Math.random().toString()})}
                                 style={{transform: "initial"}} isResizable 
hasNoBorder defaultSize={'400px'}
                                 maxSize={'800px'} minSize={'300px'}>
                 <DslProperties ref={this.state.ref}

Reply via email to