cleanup + debugging help/quick dial

This commit is contained in:
talksik
2022-06-19 14:37:03 -05:00
parent 3d1c1f20dc
commit a7bbf1f6e9
2 changed files with 4 additions and 3 deletions
@@ -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');
-3
View File
@@ -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>