summaryrefslogtreecommitdiffstats
path: root/web/react/components/post_info.jsx
diff options
context:
space:
mode:
authorReed Garmsen <rgarmsen2295@gmail.com>2015-08-27 14:12:32 -0700
committerReed Garmsen <rgarmsen2295@gmail.com>2015-08-27 14:21:39 -0700
commit019952098177db4b12f35d885a5b6ffd24e4c262 (patch)
treeabb7a2049698f2673d8761fda600235b92e57b4b /web/react/components/post_info.jsx
parent773e3fa377afb449ca18a3b8a93a27eb321cbc63 (diff)
downloadchat-019952098177db4b12f35d885a5b6ffd24e4c262.tar.gz
chat-019952098177db4b12f35d885a5b6ffd24e4c262.tar.bz2
chat-019952098177db4b12f35d885a5b6ffd24e4c262.zip
Reformats the user_settings_general.jsx file; also adds missing keys to children in an array
Diffstat (limited to 'web/react/components/post_info.jsx')
-rw-r--r--web/react/components/post_info.jsx17
1 files changed, 13 insertions, 4 deletions
diff --git a/web/react/components/post_info.jsx b/web/react/components/post_info.jsx
index 73e897f62..c80b287a3 100644
--- a/web/react/components/post_info.jsx
+++ b/web/react/components/post_info.jsx
@@ -43,13 +43,16 @@ export default class PostInfo extends React.Component {
if (isOwner) {
dropdownContents.push(
- <li role='presentation'>
+ <li
+ key='editPost'
+ role='presentation'
+ >
<a
href='#'
role='menuitem'
data-toggle='modal'
data-target='#edit_post'
- data-refoucsid="#post_textbox"
+ data-refoucsid='#post_textbox'
data-title={type}
data-message={post.message}
data-postid={post.id}
@@ -64,7 +67,10 @@ export default class PostInfo extends React.Component {
if (isOwner || isAdmin) {
dropdownContents.push(
- <li role='presentation'>
+ <li
+ key='deletePost'
+ role='presentation'
+ >
<a
href='#'
role='menuitem'
@@ -83,7 +89,10 @@ export default class PostInfo extends React.Component {
if (this.props.allowReply === 'true') {
dropdownContents.push(
- <li role='presentation'>
+ <li
+ key='replyLink'
+ role='presentation'
+ >
<a
className='reply-link theme'
href='#'