From d84333ff95e02f86c6d81d0702afd2d5858ab42d Mon Sep 17 00:00:00 2001 From: Riddhiagrawal001 Date: Thu, 2 Jan 2025 16:42:51 +0530 Subject: [PATCH] refactor: removed unwanted code --- src/screens/Analytics/Logs/LogUtils/ApiDetailsComponent.res | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/screens/Analytics/Logs/LogUtils/ApiDetailsComponent.res b/src/screens/Analytics/Logs/LogUtils/ApiDetailsComponent.res index 3ae16341e..14fbe67f0 100644 --- a/src/screens/Analytics/Logs/LogUtils/ApiDetailsComponent.res +++ b/src/screens/Analytics/Logs/LogUtils/ApiDetailsComponent.res @@ -213,8 +213,7 @@ let make = ( className={`flex gap-6 items-start w-full py-3 px-3 cursor-pointer ${borderClass} mb-6 `} key={selectedOption.value->Int.toString} - onClick={event => { - event->scrollIntoView + onClick={_ => { setLogDetails(_ => { response: responseObject, request: requestObject,