mirror of
https://github.com/vector-im/element-web.git
synced 2024-11-17 22:14:58 +08:00
Add comment about refs to functional components
Signed-off-by: Šimon Brandner <simon.bra.ag@gmail.com>
This commit is contained in:
parent
4a40f67e75
commit
90f9d20f45
@ -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>();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user