1
0
mirror of https://github.com/matrix-org/matrix-react-sdk.git synced 2025-11-05 23:10:41 +03:00

Add comment about refs to functional components

Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
Šimon Brandner
2021-04-09 08:03:10 +02:00
parent 4a40f67e75
commit 90f9d20f45

View File

@@ -83,6 +83,7 @@ export default class ImageView extends React.Component<IProps, IState> {
};
}
// XXX: Refs to functional components
private contextMenuButton = createRef<any>();
private focusLock = createRef<any>();