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:
committed by
Facebook GitHub Bot
parent
f2ef26cd9a
commit
aab84d3fb9
@@ -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={
|
||||
|
||||
Reference in New Issue
Block a user