Skip to content

Commit

Permalink
Merge pull request #41588 from neonbhai/fix-group-chat-name-error
Browse files Browse the repository at this point in the history
[Group Chats] - Fix: Invalid group chat name error still persists after clearing group name text
  • Loading branch information
yuwenmemon authored May 6, 2024
2 parents 32ed5f5 + ef29262 commit 8da0384
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/libs/actions/Report.ts
Original file line number Diff line number Diff line change
Expand Up @@ -633,7 +633,12 @@ function updateGroupChatName(reportID: string, reportName: string) {
{
onyxMethod: Onyx.METHOD.MERGE,
key: `${ONYXKEYS.COLLECTION.REPORT}${reportID}`,
value: {reportName},
value: {
reportName,
errorFields: {
reportName: null,
},
},
},
];
const parameters: UpdateGroupChatNameParams = {reportName, reportID};
Expand Down

0 comments on commit 8da0384

Please sign in to comment.