encryption ui improvements

This commit is contained in:
Sharon Kennedy
2020-02-04 01:13:47 -05:00
parent 5cb95e4556
commit 5391338d7f
4 changed files with 35 additions and 23 deletions

View File

@@ -1,8 +1,8 @@
import React from "react"
import PropTypes from "prop-types"
const Message = ({ message, user_id }) => {
const fromMe = message.sender === user_id;
const Message = ({ message, userId }) => {
const fromMe = message.sender === userId;
return (
<div className={`message ${fromMe ? "from-me" : "from-support"}`}>