File tree 1 file changed +0
-17
lines changed
app/client/src/components/editorComponents
1 file changed +0
-17
lines changed Original file line number Diff line number Diff line change @@ -42,8 +42,6 @@ import { StateInspector } from "./Debugger/StateInspector";
42
42
import { getErrorCount } from "selectors/debuggerSelectors" ;
43
43
import { getIDETypeByUrl } from "ee/entities/IDE/utils" ;
44
44
import { useLocation } from "react-router" ;
45
- import { getIsAnvilEnabledInCurrentApplication } from "layoutSystems/anvil/integrations/selectors" ;
46
- import { Visualization } from "PluginActionEditor/components/PluginActionResponse/components/Visualization" ;
47
45
48
46
const ResponseTabWrapper = styled . div `
49
47
display: flex;
@@ -214,7 +212,6 @@ function JSResponseView(props: Props) {
214
212
215
213
const ideViewMode = useSelector ( getIDEViewMode ) ;
216
214
const location = useLocation ( ) ;
217
- const isAnvilEnabled = useSelector ( getIsAnvilEnabledInCurrentApplication ) ;
218
215
219
216
const ideType = getIDETypeByUrl ( location . pathname ) ;
220
217
@@ -227,20 +224,6 @@ function JSResponseView(props: Props) {
227
224
} ,
228
225
] ;
229
226
230
- if ( isAnvilEnabled ) {
231
- responseTabs . push ( {
232
- key : DEBUGGER_TAB_KEYS . VISUALIZATION_TAB ,
233
- title : "AI Response Visualizer" ,
234
- panelComponent : currentFunction && (
235
- < Visualization
236
- entityId = { currentFunction . id }
237
- response = { response . value }
238
- visualizationElements = { currentFunction . visualization ?. result }
239
- />
240
- ) ,
241
- } ) ;
242
- }
243
-
244
227
const jsTabs : BottomTab [ ] = [
245
228
...responseTabs ,
246
229
{
You can’t perform that action at this time.
0 commit comments