From 9561018ce3bfeac7c2404644f4bd510367967eb9 Mon Sep 17 00:00:00 2001 From: kevinlog Date: Thu, 26 Dec 2019 16:32:09 -0500 Subject: [PATCH] linting --- .../public/applications/endpoint/index.tsx | 33 ++++++++++++------- 1 file changed, 22 insertions(+), 11 deletions(-) diff --git a/x-pack/plugins/endpoint/public/applications/endpoint/index.tsx b/x-pack/plugins/endpoint/public/applications/endpoint/index.tsx index 65474887f3e27..47fba63d2038f 100644 --- a/x-pack/plugins/endpoint/public/applications/endpoint/index.tsx +++ b/x-pack/plugins/endpoint/public/applications/endpoint/index.tsx @@ -17,8 +17,8 @@ import { Route, Router, Switch } from 'react-router-dom'; export function renderApp(coreStart: CoreStart, { element }: AppMountParameters) { coreStart.http.get('/api/endpoint/hello-world'); - const history = createHashHistory() - ReactDOM.render(, element); + const history = createHashHistory(); + ReactDOM.render(, element); return () => { ReactDOM.unmountComponentAtNode(element); @@ -29,22 +29,33 @@ interface RouterProps { history: History; } -const AppRoot: React.FC = React.memo(({history}) => ( +const AppRoot: React.FC = React.memo(({ history }) => ( - - - ( + + + (

- )} /> - ( + )} + /> + (

- )} /> - } /> -
+ )} + /> + ( + + )} + /> +
));