Skip to content

Commit 07e86bc

Browse files
committed
minor changes to article and newbox
1 parent 7c40276 commit 07e86bc

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

the_boolean/src/components/ArticleForm.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ const journalistOptions = props.newArticle.data.journalists.map((journalist, ind
2828
<br/>
2929
Text:
3030
<br/>
31-
<textarea name="comment" form="userForm">Enter text here...</textarea>
31+
<textarea name="text" form="userForm">Enter text here...</textarea>
3232
<br/>
3333
Date:
3434
<br/>

the_boolean/src/containers/NewsBox.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,9 @@ class NewsBox extends Component {
120120
<div>
121121
<MainHeader handleHeaderClick={this.handleHeaderClick}/>
122122
<NavBar handleCategoryClick={this.handleCategoryClick} newArticle = {this.newArticle}/>
123-
<ArticleList handleArticleClick = {this.handleArticleClick} data = {this.state} handleDelete = {this.deleteArticle} handleEdit = {this.handleEditArticle} saveArticle = {this.saveArticle} newArticle = {this.newArticle} createArticle = {this.createArticle}/>
123+
<ArticleList handleArticleClick = {this.handleArticleClick} data = {this.state}
124+
handleDelete = {this.deleteArticle} handleEdit = {this.handleEditArticle} saveArticle = {this.saveArticle}
125+
newArticle = {this.newArticle} createArticle = {this.createArticle}/>
124126
</div>
125127
)
126128
}

0 commit comments

Comments
 (0)