Skip to content

Commit

Permalink
Use correct names.
Browse files Browse the repository at this point in the history
  • Loading branch information
mojombo committed May 25, 2020
1 parent ed2f6e5 commit 2b886c0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion web/src/components/AddTodo/AddTodo.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { QUERY as TODOS } from 'src/components/TodoListCell'
// Note that `__typename` is required here in order for optimistic responses to
// function properly.
const CREATE_TODO = gql`
mutation AddTodoCell_CreateTodo($body: String!) {
mutation AddTodo_CreateTodo($body: String!) {
createTodo(body: $body) {
id
__typename
Expand Down
8 changes: 4 additions & 4 deletions web/src/pages/HomePage/HomePage.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import styled from 'styled-components'
import AddTodoCell from 'src/components/AddTodo'
import TodoList from 'src/components/TodoListCell'
import AddTodo from 'src/components/AddTodo'
import TodoListCell from 'src/components/TodoListCell'

const HomePage = () => {
return (
<SC.Wrapper>
<SC.Title>Todo List</SC.Title>
<TodoList />
<AddTodoCell />
<TodoListCell />
<AddTodo />
</SC.Wrapper>
)
}
Expand Down

0 comments on commit 2b886c0

Please sign in to comment.