Jofthomas commited on
Commit
475ca51
·
1 Parent(s): 99226bc

isMe check

Browse files
patches/src/components/PlayerDetails.tsx CHANGED
@@ -227,7 +227,7 @@ export default function PlayerDetails({
227
  <div className="desc my-6">
228
  <p className="leading-tight -m-4 bg-brown-700 text-base sm:text-sm">
229
  {!isMe && playerDescription?.description}
230
- {isMe && <i>You are a {playerDescription?.role}</i>}
231
  {!isMe && inConversationWithMe && (
232
  <>
233
  <br />
 
227
  <div className="desc my-6">
228
  <p className="leading-tight -m-4 bg-brown-700 text-base sm:text-sm">
229
  {!isMe && playerDescription?.description}
230
+ {isMe && <i>You are a {playerDescription}</i>}
231
  {!isMe && inConversationWithMe && (
232
  <>
233
  <br />