Skip to content

Commit

Permalink
remove console log
Browse files Browse the repository at this point in the history
  • Loading branch information
ajbura committed Feb 10, 2025
1 parent c1ddcf6 commit ede77ef
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/app/hooks/useRoomEvent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,6 @@ const useFetchEvent = (room: Room, eventId: string) => {
const evt = await mx.fetchRoomEvent(room.roomId, eventId);
const mEvent = new MatrixEvent(evt);

console.log('=====> event');
console.log(evt.unsigned?.['m.relations'] && evt.unsigned?.['m.relations']['m.replace']);
if (evt.unsigned?.['m.relations'] && evt.unsigned?.['m.relations']['m.replace']) {
const replaceEvt = evt.unsigned?.['m.relations']['m.replace'] as IEvent;
const replaceEvent = new MatrixEvent(replaceEvt);
Expand Down

0 comments on commit ede77ef

Please sign in to comment.