cleanup + debugging help/quick dial
This commit is contained in:
@@ -289,8 +289,12 @@ export function ConversationProvider({ children }: { children: React.ReactNode }
|
||||
// todo: check to make sure that the other user is not the user himself, although backend should error out
|
||||
|
||||
if (otherUsers.length === 1) {
|
||||
console.log('checking if exists....');
|
||||
|
||||
const conversationDmCheck = await checkIfOnOnOneExists(otherUsers[0]._id.toString());
|
||||
|
||||
console.log(conversationDmCheck);
|
||||
|
||||
// if we found a conversation
|
||||
if (conversationDmCheck.data) {
|
||||
toast.success('already have this user...quick dialing');
|
||||
|
||||
@@ -46,9 +46,6 @@ export default function MainPanel() {
|
||||
}
|
||||
|
||||
function ConversationDetails({ masterConversation }: { masterConversation: MasterConversation }) {
|
||||
console.log('selected room contents');
|
||||
console.log(masterConversation);
|
||||
|
||||
return (
|
||||
<Container maxWidth={'md'}>
|
||||
<Grid container>
|
||||
|
||||
Reference in New Issue
Block a user