Skip to content

Commit

Permalink
rien
Browse files Browse the repository at this point in the history
  • Loading branch information
lucas-science committed Apr 16, 2021
1 parent 0bbcfd1 commit 2931fb4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,12 +30,12 @@
"web-vitals": "^0.2.4"
},
"scripts": {
"start": "react-scripts start",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject",
"watch": "nodemon ./server.js",
"start-serv": "node server.js"
"start": "node server.js",
"heroku-postbuild": "NPM_CONFIG_PRODUCTION=false npm install npm && run build"
},
"proxy": "http://localhost:4000",
"eslintConfig": {
Expand All @@ -56,4 +56,4 @@
"last 1 safari version"
]
}
}
}
1 change: 0 additions & 1 deletion src/components/chat.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,6 @@ export default class Chat extends Component {
<div className="chat">
{this.state.groupetext.map((mess)=>(
<div className="message-envoye">

<p className="author">{mess.author}</p>
<p className="textemessageP">{mess.text}</p>
{ this.props.nom == mess.author ? <button value={mess._id} className="boutton-suprimer-un-message" onClick={this.deleteMessage}> X </button> : console.log('')}
Expand Down

0 comments on commit 2931fb4

Please sign in to comment.