From 80cd9b74d7758d5f0f56687f7b0486072e2a01fb Mon Sep 17 00:00:00 2001 From: Palak Bhojani Date: Mon, 6 May 2019 09:24:01 -0700 Subject: [PATCH] Update variable rename overlay and argument type --- .../components/RenameVariableForm.tsx | 98 +++++++++---------- ui/src/variables/components/VariableRow.tsx | 4 +- 2 files changed, 49 insertions(+), 53 deletions(-) diff --git a/ui/src/variables/components/RenameVariableForm.tsx b/ui/src/variables/components/RenameVariableForm.tsx index 8a810b44a6e..40d3eeec611 100644 --- a/ui/src/variables/components/RenameVariableForm.tsx +++ b/ui/src/variables/components/RenameVariableForm.tsx @@ -6,7 +6,6 @@ import {withRouter, WithRouterProps} from 'react-router' // Components import {Form, Input, Button, Grid, Columns} from '@influxdata/clockface' -import {Overlay} from 'src/clockface' // Utils import {validateVariableName} from 'src/variables/utils/validation' @@ -55,59 +54,54 @@ class RenameVariableOverlayForm extends PureComponent { const {workingVariable, isNameValid} = this.state return ( - - - -
- - - -
- + + + +
+ + {status => ( + - {status => ( - - )} - -
-
-
- - - -
+
+
+ + + +