mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2026-11-15 14:43:46 +01:00
Merge pull request #20137 from overleaf/jpa-fix-e2e
[server-pro] fix e2e tests GitOrigin-RevId: 589d23baf8bc815328f21b140f2086e135d13736
This commit is contained in:
@@ -62,7 +62,7 @@ const ChatPane = React.memo(function ChatPane() {
|
||||
throw error
|
||||
}
|
||||
|
||||
if (!user?.id) {
|
||||
if (!user) {
|
||||
return null
|
||||
}
|
||||
if (!chatOpenedOnce) {
|
||||
|
||||
@@ -61,7 +61,7 @@ MessageList.propTypes = {
|
||||
})
|
||||
).isRequired,
|
||||
resetUnreadMessages: PropTypes.func.isRequired,
|
||||
userId: PropTypes.string.isRequired,
|
||||
userId: PropTypes.string,
|
||||
}
|
||||
|
||||
export default MessageList
|
||||
|
||||
@@ -52,7 +52,7 @@ Message.propTypes = {
|
||||
first_name: PropTypes.string,
|
||||
}),
|
||||
}),
|
||||
userId: PropTypes.string.isRequired,
|
||||
userId: PropTypes.string,
|
||||
}
|
||||
|
||||
export default Message
|
||||
|
||||
Reference in New Issue
Block a user