Fix chat user color variable

This commit is contained in:
Gabe Kangas
2022-09-01 19:37:11 -07:00
parent e0926b9350
commit aa0b43074f
3 changed files with 3 additions and 3 deletions

View File

@@ -32,7 +32,7 @@ export default function ChatUserMessage({
const { id: messageId, body, user, timestamp } = message;
const { id: userId, displayName, displayColor } = user;
const color = `var(--theme-user-colors-${displayColor})`;
const color = `var(--theme-color-users-${displayColor})`;
const formattedTimestamp = `Sent ${formatTimestamp(timestamp)}`;
const [formattedMessage, setFormattedMessage] = useState<string>(body);