You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
613 B
32 lines
613 B
import React from 'react'; |
|
import { Link } from 'react-router-dom'; |
|
import './light.css'; |
|
import { Button, Container, Header } from 'semantic-ui-react'; |
|
|
|
export function Debug(props) { |
|
return ( |
|
<Container> |
|
<Header size='large'>Debug</Header> |
|
|
|
<p>No warranty.</p> |
|
|
|
<p> |
|
<Button onClick={() => {throw new Error('test')}}> |
|
Cause an error |
|
</Button> |
|
</p> |
|
|
|
<p> |
|
<Button onClick={() => {localStorage.clear()}}> |
|
Clear localStorage |
|
</Button> |
|
</p> |
|
|
|
<p><Link to='/classfeed'>Classfeed</Link></p> |
|
|
|
<p><Link to='/usage/trotec'>Trotec Usage</Link></p> |
|
|
|
|
|
</Container> |
|
); |
|
};
|
|
|