@@ -54,7 +54,6 @@ export type Props = {|
54
54
canViewElementSourceFunction ?: ?CanViewElementSource ,
55
55
defaultTab ?: TabID ,
56
56
enabledInspectedElementContextMenu ?: boolean ,
57
- enabledInspectedElementContextMenuCopy ?: boolean ,
58
57
showTabBar ?: boolean ,
59
58
store : Store ,
60
59
warnIfLegacyBackendDetected ?: boolean ,
@@ -97,7 +96,6 @@ export default function DevTools({
97
96
componentsPortalContainer,
98
97
defaultTab = 'components' ,
99
98
enabledInspectedElementContextMenu = false ,
100
- enabledInspectedElementContextMenuCopy = false ,
101
99
overrideTab,
102
100
profilerPortalContainer,
103
101
showTabBar = false ,
@@ -123,14 +121,9 @@ export default function DevTools({
123
121
const contextMenu = useMemo (
124
122
( ) => ( {
125
123
isEnabledForInspectedElement : enabledInspectedElementContextMenu ,
126
- supportsCopyOperation : enabledInspectedElementContextMenuCopy ,
127
124
viewAttributeSourceFunction : viewAttributeSourceFunction || null ,
128
125
} ) ,
129
- [
130
- enabledInspectedElementContextMenu ,
131
- enabledInspectedElementContextMenuCopy ,
132
- viewAttributeSourceFunction ,
133
- ] ,
126
+ [ enabledInspectedElementContextMenu , viewAttributeSourceFunction ] ,
134
127
) ;
135
128
136
129
useEffect (
0 commit comments