From 62e834802dae0bd15504785503060d7875c7b4ad Mon Sep 17 00:00:00 2001 From: Herbert Eiselt Date: Thu, 28 Mar 2019 19:00:35 +0100 Subject: Add SDN-R odlux performance A UI displaying performance monitoring data Change-Id: I2a9c28549aee1bcac366354c343a63f884bf09e0 Issue-ID: SDNC-585 Signed-off-by: Herbert Eiselt --- sdnr/wt/odlux/framework/src/views/home.tsx | 27 --------------------------- 1 file changed, 27 deletions(-) (limited to 'sdnr/wt/odlux/framework/src/views/home.tsx') diff --git a/sdnr/wt/odlux/framework/src/views/home.tsx b/sdnr/wt/odlux/framework/src/views/home.tsx index 3d7497401..18f94f70b 100644 --- a/sdnr/wt/odlux/framework/src/views/home.tsx +++ b/sdnr/wt/odlux/framework/src/views/home.tsx @@ -1,36 +1,9 @@ import * as React from 'react'; -import Button from '@material-ui/core/Button'; - -class BuggyCounter extends React.Component<{}, {counter:number}> { - constructor(props: {}) { - super(props); - this.state = { counter: 0 }; - this.handleClick = this.handleClick.bind(this); - } - - handleClick() { - this.setState(({ counter }) => ({ - counter: counter + 1 - })); - } - - render() { - if (this.state.counter === 5) { - // Simulate a JS error - throw new Error('I crashed!'); - } - return

{ this.state.counter }

; - } -} export const Home = (props: React.Props) => { return (

Welcome to ODLUX.

- -
) } -- cgit 1.2.3-korg