Set tslint semicolon rule and aply it to the project
[arvados.git] / src / components / api-token / api-token.tsx
index 87da39b025e9706c05ebdade6e600f936fae1a89..b6616d38bf4942ad5d8442b29fb02ad8de95c608 100644 (file)
@@ -17,7 +17,7 @@ class ApiToken extends React.Component<ApiTokenProps & RouteProps & DispatchProp
         const regex = new RegExp('[\\?&]' + safeName + '=([^&#]*)');
         const results = regex.exec(search);
         return results === null ? '' : decodeURIComponent(results[1].replace(/\+/g, ' '));
-    };
+    }
 
     componentDidMount() {
         const search = this.props.location ? this.props.location.search : "";
@@ -27,7 +27,7 @@ class ApiToken extends React.Component<ApiTokenProps & RouteProps & DispatchProp
         this.props.dispatch(projectService.getProjectList());
     }
     render() {
-        return <Redirect to="/"/>
+        return <Redirect to="/"/>;
     }
 }