From aab84d3fb91250edb8ebb25ceaaf1e760b2f3361 Mon Sep 17 00:00:00 2001 From: Luke De Feo Date: Tue, 5 Sep 2023 10:01:17 -0700 Subject: [PATCH] Use new antd apis for framework events Summary: No more warnings. Reviewed By: antonk52 Differential Revision: D48964070 fbshipit-source-id: 4f9b9affb04b8bc355b0687c9bc9c7273e469d78 --- .../sidebar/inspector/FrameworkEventsInspector.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/desktop/plugins/public/ui-debugger/components/sidebar/inspector/FrameworkEventsInspector.tsx b/desktop/plugins/public/ui-debugger/components/sidebar/inspector/FrameworkEventsInspector.tsx index 2c36a0236..36dd25a1a 100644 --- a/desktop/plugins/public/ui-debugger/components/sidebar/inspector/FrameworkEventsInspector.tsx +++ b/desktop/plugins/public/ui-debugger/components/sidebar/inspector/FrameworkEventsInspector.tsx @@ -98,15 +98,15 @@ export const FrameworkEventsInspector: React.FC = ({ {(showEventTypesSection || showThreadsSection) && ( { - if (visible) { + onOpenChange={(open) => { + if (open) { tracker.track( 'framework-event-timeline-filters-adjusted', {}, ); } }} - overlay={ + dropdownRender={() => ( = ({ )} - }> + )}>