Update index.js

This commit is contained in:
Nikhil569 2023-10-13 19:00:26 +05:30 committed by GitHub
parent 4eb74c8ed3
commit 60d3d07459
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -24,7 +24,7 @@ const RequestMethod = ({ item }) => {
<StyledWrapper> <StyledWrapper>
<div className={getClassname(item.request.method)}> <div className={getClassname(item.request.method)}>
<span className="uppercase"> <span className="uppercase">
{item.request.method.length > 4 ? item.request.method.substring(0, 3) : item.request.method} {item.request.method}
</span> </span>
</div> </div>
</StyledWrapper> </StyledWrapper>