From 90f9d20f45168ce498caa569e541774bab5edcf3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 9 Apr 2021 08:03:10 +0200 Subject: [PATCH] Add comment about refs to functional components MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- src/components/views/elements/ImageView.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/views/elements/ImageView.tsx b/src/components/views/elements/ImageView.tsx index 79e657c682..2bcdaf15cc 100644 --- a/src/components/views/elements/ImageView.tsx +++ b/src/components/views/elements/ImageView.tsx @@ -83,6 +83,7 @@ export default class ImageView extends React.Component { }; } + // XXX: Refs to functional components private contextMenuButton = createRef(); private focusLock = createRef();