From 1b965d492429406bffc0be27f5bfe39d42fbdcea Mon Sep 17 00:00:00 2001 From: Abbas Nazar Date: Wed, 16 Oct 2024 23:09:24 +0500 Subject: [PATCH] refactor: renamed children to _children to indicate that it's not being used and added a comment GitOrigin-RevId: 8cab3811cf0ebfaac9535ad60beed7b32615bc68 --- .../wab/src/wab/client/components/studio/LeftTabStrip.tsx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/platform/wab/src/wab/client/components/studio/LeftTabStrip.tsx b/platform/wab/src/wab/client/components/studio/LeftTabStrip.tsx index 213837d7bdd..84f05061019 100644 --- a/platform/wab/src/wab/client/components/studio/LeftTabStrip.tsx +++ b/platform/wab/src/wab/client/components/studio/LeftTabStrip.tsx @@ -434,7 +434,9 @@ Help )} players={{ render: (_props) => { - const { children, ...otherProps } = _props; + // Exclude 'children' from props to avoid React warnings about missing keys, + // as they are already omitted inside Player and not needed here. + const { children: _children, ...otherProps } = _props; return ; }, }}