Fix loading state

This commit is contained in:
Gregory Schier
2025-01-20 14:23:24 -08:00
parent 19403983b7
commit 2a2fe700b4

View File

@@ -368,7 +368,7 @@ export const RequestPane = memo(function RequestPane({
onMethodChange={handleMethodChange}
onUrlChange={handleUrlChange}
forceUpdateKey={updateKey}
isLoading={activeResponse?.state !== 'closed'}
isLoading={activeResponse != null && activeResponse.state !== 'closed'}
/>
<Tabs
key={activeRequest.id} // Freshen tabs on request change