From 94dfaf45cdf497300576a24bbeda6430b8e677e4 Mon Sep 17 00:00:00 2001 From: lohxt1 Date: Thu, 6 Mar 2025 21:13:26 +0530 Subject: [PATCH] revert changes from another pr --- .../src/components/RequestPane/HttpRequestPane/index.js | 7 ------- 1 file changed, 7 deletions(-) diff --git a/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js b/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js index 6cdf4a6d7..09a665e9f 100644 --- a/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js +++ b/packages/bruno-app/src/components/RequestPane/HttpRequestPane/index.js @@ -15,7 +15,6 @@ import Tests from 'components/RequestPane/Tests'; import StyledWrapper from './StyledWrapper'; import { find, get } from 'lodash'; import Documentation from 'components/Documentation/index'; -import { useEffect } from 'react'; const ContentIndicator = () => { return ( @@ -112,12 +111,6 @@ const HttpRequestPane = ({ item, collection, leftPaneWidth }) => { requestVars.filter((request) => request.enabled).length + responseVars.filter((response) => response.enabled).length; - useEffect(() => { - if (activeParamsLength === 0 && body.mode !== 'none') { - selectTab('body'); - } - }, []); - return (