From 5f7ddcb8ce5215e4c0fe80ca95a9e5e70d5c5367 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Wed, 14 Mar 2018 09:43:03 +0200 Subject: [PATCH] add TODO notice --- client/src/ui/reflection.js | 1 + 1 file changed, 1 insertion(+) diff --git a/client/src/ui/reflection.js b/client/src/ui/reflection.js index f018be1b..9d6a0b58 100644 --- a/client/src/ui/reflection.js +++ b/client/src/ui/reflection.js @@ -90,6 +90,7 @@ class Reflection { } static getComponent(node) { + // IMPORTANT TODO Currently only checks the first found component. For example channel-member will not return the correct component try { return this.reactInternalInstance(node).return.type; } catch (err) {