review feedback

This commit is contained in:
Max Schmitt 2024-09-18 14:06:11 +02:00
parent bb7b56776a
commit 62f6a1ed88
2 changed files with 2 additions and 1 deletions

View file

@ -1,4 +1,5 @@
// Copyright 2014 The Chromium Authors. All rights reserved.
// Modifications copyright (c) Microsoft Corporation.
//
// Redistribution and use in source and binary forms, with or without
// modification, are permitted provided that the following conditions are

View file

@ -97,7 +97,7 @@ const RequestTab: React.FunctionComponent<{
As cURL: <CopyToClipboard description='Copy as cURL' value={() => generateCurlCommand(resource)}/>
</div>
<div className='network-request-details-copy'>
As Fetch (Browser): <CopyToClipboard description='Copy as Fetch' value={() => generateFetchCall(resource)}/>
As Fetch: <CopyToClipboard description='Copy as Fetch' value={() => generateFetchCall(resource)}/>
</div>
{requestBody && <div className='network-request-details-header'>Request Body</div>}
{requestBody && <CodeMirrorWrapper text={requestBody.text} mimeType={requestBody.mimeType} readOnly lineNumbers={true}/>}