Fix room topic in-app links not being handled correctly on topic dialog (#12406)
Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>pull/28217/head
parent
b49c92c568
commit
156f2fa50a
|
@ -82,7 +82,8 @@ export default function RoomTopic({ room, className, ...props }: IProps): JSX.El
|
|||
<Linkify
|
||||
options={{
|
||||
attributes: {
|
||||
onClick() {
|
||||
onClick(e: React.MouseEvent<HTMLDivElement>) {
|
||||
onClick(e);
|
||||
modal.close();
|
||||
},
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue