Try again to fix DM issue

remotes/1693176582716663532/tmp_refs/heads/watchparty
Outrun Colors 2022-09-27 00:36:40 -05:00
parent 430cbe676c
commit b52edce516
No known key found for this signature in database
GPG Key ID: 0426976DCEFE6073
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "chat", "name": "chat",
"version": "0.1.19", "version": "0.1.20",
"main": "./src/index.tsx", "main": "./src/index.tsx",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {

View File

@ -90,7 +90,7 @@ export function ChatMessage({
if (userToDm && userToDm.id === userId) { if (userToDm && userToDm.id === userId) {
updateUserToDm(null); updateUserToDm(null);
} else { } else if (userId) {
updateUserToDm({ updateUserToDm({
id: userId, id: userId,
username: message.username, username: message.username,
@ -134,7 +134,7 @@ export function ChatMessage({
style={{ style={{
position: "relative", position: "relative",
top: 2, top: 2,
left: -12 left: -12,
}} }}
onClick={() => handleDirectMessage()} onClick={() => handleDirectMessage()}
> >