summaryrefslogtreecommitdiffstats
path: root/src/features/webControls/components/WebControls.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/features/webControls/components/WebControls.tsx')
-rw-r--r--src/features/webControls/components/WebControls.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/features/webControls/components/WebControls.tsx b/src/features/webControls/components/WebControls.tsx
index 51bf7e541..74b343948 100644
--- a/src/features/webControls/components/WebControls.tsx
+++ b/src/features/webControls/components/WebControls.tsx
@@ -115,7 +115,7 @@ class WebControls extends Component<IProps, IState> {
115 const { url: inputUrl } = props; 115 const { url: inputUrl } = props;
116 const { editUrl } = state; 116 const { editUrl } = state;
117 117
118 return !editUrl ? { inputUrl, editUrl } : null; 118 return editUrl ? null : { inputUrl, editUrl };
119 } 119 }
120 120
121 constructor(props: IProps) { 121 constructor(props: IProps) {