From c644cb26384cd126a1e71ce652b358e0a87e3b59 Mon Sep 17 00:00:00 2001 From: Kristóf Marussy Date: Sun, 22 Aug 2021 21:35:53 +0200 Subject: Add ESLint config --- language-web/src/main/js/App.tsx | 46 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'language-web/src/main/js/App.tsx') diff --git a/language-web/src/main/js/App.tsx b/language-web/src/main/js/App.tsx index 5bd46c09..17d4f339 100644 --- a/language-web/src/main/js/App.tsx +++ b/language-web/src/main/js/App.tsx @@ -9,10 +9,10 @@ import MenuIcon from '@material-ui/icons/Menu'; import PlayArrowIcon from '@material-ui/icons/PlayArrow'; import { makeStyles } from './makeStyles'; -import Editor from './editor/Editor'; -import EditorButtons from './editor/EditorButtons'; +import { Editor } from './editor/Editor'; +import { EditorButtons } from './editor/EditorButtons'; -const useStyles = makeStyles()(theme => ({ +const useStyles = makeStyles()((theme) => ({ container: { maxHeight: '100vh', }, @@ -27,31 +27,31 @@ const useStyles = makeStyles()(theme => ({ }, })); -export default () => { +export const App = (): JSX.Element => { const { classes, cx } = useStyles(); return ( GraphSolver @@ -59,22 +59,22 @@ export default () => { - + @@ -85,7 +85,7 @@ export default () => { flexShrink={1} className={cx(classes.editorBox)} > - + ); -- cgit v1.2.3-54-g00ecf