diff --git a/client/src/components/Container.css b/client/src/components/Container.css index 4fc663a..c66bbb6 100644 --- a/client/src/components/Container.css +++ b/client/src/components/Container.css @@ -46,7 +46,7 @@ body { height: 100%; flex-grow: 0; flex-shrink: 1; - color: #888888; + color: #555555; border: none; background: none; transition: 0.1s ease-in-out; diff --git a/client/src/components/todos/Input.js b/client/src/components/todos/Input.js index 25f05ac..4e5f43e 100644 --- a/client/src/components/todos/Input.js +++ b/client/src/components/todos/Input.js @@ -19,6 +19,7 @@ function Input({ onClick, styles }) { return (
{ input = node; }} diff --git a/client/src/components/user/FetchButton.js b/client/src/components/user/FetchButton.js deleted file mode 100644 index 5b11136..0000000 --- a/client/src/components/user/FetchButton.js +++ /dev/null @@ -1,40 +0,0 @@ -import React from 'react'; -import { connect } from 'react-redux'; -import PropTypes from 'prop-types'; -import { ButtonBase } from '@material-ui/core'; - -import { fetchLists } from '../../actions/lists'; - -function FetchButton({ onClick, children }) { - return ( - { - e.preventDefault(); - onClick(); - }} - > - {children} - - ); -} - -FetchButton.propTypes = { - onClick: PropTypes.func.isRequired, - children: PropTypes.node.isRequired, -}; - -function mapDispatchToProps(dispatch) { - return { - onClick: () => dispatch(fetchLists()), - }; -} - -export default connect( - null, - mapDispatchToProps, -)(FetchButton);