diff --git a/app/src/components/PostList.js b/app/src/components/PostList.js index 085b900..22a1024 100644 --- a/app/src/components/PostList.js +++ b/app/src/components/PostList.js @@ -5,8 +5,8 @@ import { drizzle } from '../index'; import Post from './Post'; -const contract = 'Posting'; -const getPostMethod = 'getPostInfo'; +const contract = 'Forum'; +const getPostMethod = 'getPost'; class PostList extends Component { constructor(props) { diff --git a/app/src/components/TopicList.js b/app/src/components/TopicList.js index 0c24fcc..dd00318 100644 --- a/app/src/components/TopicList.js +++ b/app/src/components/TopicList.js @@ -5,8 +5,8 @@ import { drizzle } from '../index'; import Topic from './Topic'; -const contract = 'Posting'; -const getTopicMethod = 'getTopicInfo'; +const contract = 'Forum'; +const getTopicMethod = 'getTopic'; class TopicList extends Component { constructor(props) {