Remove test code; good job we have tests

This commit is contained in:
James Salter 2021-08-16 13:26:46 +01:00
parent 16d02f24bd
commit 6c2e98812b

View File

@ -451,8 +451,6 @@ export default class EventTile extends React.Component<IProps, IState> {
client.on("Room.receipt", this.onRoomReceipt); client.on("Room.receipt", this.onRoomReceipt);
this.isListeningForReceipts = true; this.isListeningForReceipts = true;
} }
throw new Error("oops");
} }
// TODO: [REACT-WARNING] Replace with appropriate lifecycle event // TODO: [REACT-WARNING] Replace with appropriate lifecycle event