summaryrefslogtreecommitdiff
path: root/client/components/CalorieView.jsx
diff options
context:
space:
mode:
authorJules Laplace <jules@okfoc.us>2017-03-19 04:00:24 +0100
committerJules Laplace <jules@okfoc.us>2017-03-19 04:00:24 +0100
commit34691ba687be4adefb12864e49d5c5a357e1a74b (patch)
tree70def60ada8d511d37ef0da49bdc8698d5672b74 /client/components/CalorieView.jsx
parentc548b3bd3f0de1a1a74606d60ef9fdd323792918 (diff)
create and update meals
Diffstat (limited to 'client/components/CalorieView.jsx')
-rw-r--r--client/components/CalorieView.jsx56
1 files changed, 0 insertions, 56 deletions
diff --git a/client/components/CalorieView.jsx b/client/components/CalorieView.jsx
deleted file mode 100644
index 3c5fe2d..0000000
--- a/client/components/CalorieView.jsx
+++ /dev/null
@@ -1,56 +0,0 @@
-import React from 'react'
-import ModalDialog from './ModalDialog.jsx'
-
-export default class LoggedOutView extends React.Component {
- constructor() {
- super()
- this.state = { modal: null }
-// this.showLogin = this.showLogin.bind(this)
-// this.showSignup = this.showSignup.bind(this)
-// this.closeModal = this.closeModal.bind(this)
- }
-// showLogin() {
-// this.setState({ modal: 'login' })
-// }
-// showSignup() {
-// this.setState({ modal: 'signup' })
-// }
-// closeModal() {
-// this.setState({ modal: '' })
-// }
- render() {
-// const loginVisible = this.state.modal == 'login'
-// const signupVisible = this.state.modal == 'signup'
- return (
- <div>
- LOGGED IN
- </div>
-// <Welcome
-// onLoginClick={this.showLogin}
-// onSignupClick={this.showSignup} />
-// <LoginForm
-// client={this.props.client}
-// visible={loginVisible}
-// onClose={this.closeModal} />
-// <SignupForm
-// client={this.props.client}
-// visible={signupVisible}
-// onClose={this.closeModal} />
- )
- }
-}
-
-
-// export default class UserForm extends React.Component {
-// render() {
-// return (
-// )
-// }
-// }
-//
-// export default class MealForm extends React.Component {
-// render() {
-// return (
-// )
-// }
-// }