diff --git a/src/views/components/taskSelect.tsx b/src/views/components/taskSelect.tsx index 9cdc1c7..99f082c 100644 --- a/src/views/components/taskSelect.tsx +++ b/src/views/components/taskSelect.tsx @@ -17,23 +17,25 @@ interface Props extends HTMLAttributes { onChange: (event: React.FormEvent) => void; } const TaskSelect: React.FC = (props) => ( - +
+ +
); export default connect(mapStateToProps)(TaskSelect); diff --git a/src/views/editorView.tsx b/src/views/editorView.tsx index 6302158..1a4c120 100644 --- a/src/views/editorView.tsx +++ b/src/views/editorView.tsx @@ -3,10 +3,14 @@ import { ThunkDispatch } from "redux-thunk"; import { match as Match, RouteComponentProps } from "react-router"; import { connect } from "react-redux"; +import Container from "./components/bulma/container"; +import Button from "./components/bulma/button"; +import Input from "./components/bulma/input"; +import Field from "./components/bulma/field"; +import Level from "./components/bulma/level"; import TaskSelect from "./components/taskSelect"; import { deleteTask, updateTask, createTask } from "../actions/tasks"; - import { TaskAction } from "../typings/actions"; import { Task } from "../typings/tasks"; import { Store } from "../typings/store"; @@ -140,50 +144,50 @@ class EditorView extends React.Component { render = () => { const { task, title } = this.state; return ( -
-
-
- + + +
- {/* eslint-disable-next-line max-len */} -
- - -
-
-
+ + + +
-
+ } + /> + + } + /> + + + + ); }; }