X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/d5fb635085181a3cc16dd2f3224c8e6fc8924964..7444429308f438fb2e29188db8f208223ed39128:/src/components/api-token/api-token.tsx

diff --git a/src/components/api-token/api-token.tsx b/src/components/api-token/api-token.tsx
index d63f6e0733..7656bf8733 100644
--- a/src/components/api-token/api-token.tsx
+++ b/src/components/api-token/api-token.tsx
@@ -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 : "";
@@ -29,7 +29,7 @@ class ApiToken extends React.Component<ApiTokenProps & RouteProps & DispatchProp
         });
     }
     render() {
-        return <Redirect to="/"/>
+        return <Redirect to="/"/>;
     }
 }
 
