Shorten method name in sidebar

This commit is contained in:
Nikhil569 2023-10-12 00:49:49 +05:30
parent 36caa5c2d3
commit 0466cd6233

View File

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