Use new antd apis for framework events

Summary: No more warnings.

Reviewed By: antonk52

Differential Revision: D48964070

fbshipit-source-id: 4f9b9affb04b8bc355b0687c9bc9c7273e469d78
This commit is contained in:
Luke De Feo
2023-09-05 10:01:17 -07:00
committed by Facebook GitHub Bot
parent f2ef26cd9a
commit aab84d3fb9

View File

@@ -98,15 +98,15 @@ export const FrameworkEventsInspector: React.FC<Props> = ({
{(showEventTypesSection || showThreadsSection) && (
<Dropdown
overlayStyle={{minWidth: 200}}
onVisibleChange={(visible) => {
if (visible) {
onOpenChange={(open) => {
if (open) {
tracker.track(
'framework-event-timeline-filters-adjusted',
{},
);
}
}}
overlay={
dropdownRender={() => (
<Layout.Container
gap="small"
pad="small"
@@ -165,7 +165,7 @@ export const FrameworkEventsInspector: React.FC<Props> = ({
</>
)}
</Layout.Container>
}>
)}>
<Button
shape="circle"
icon={