1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-07 10:46:24 +03:00

Make roomStoreToken readonly

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-07-18 14:32:24 +02:00
parent d7e6856614
commit 21eb299eff

View File

@@ -42,7 +42,7 @@ interface IState {
@replaceableComponent("views.rooms.ReplyPreview")
export default class ReplyPreview extends React.Component<IProps, IState> {
private unmounted = false;
private roomStoreToken: EventSubscription;
private readonly roomStoreToken: EventSubscription;
constructor(props) {
super(props);