fix: add change method param on callback (#4963)

This commit is contained in:
Mark Kim authored and GitHub committed 2022-07-13 14:01:52 -04:00
1 parent deb1038c28
commit c6e0591c58
1 file changed
+1 -1
@@ -169,7 +169,7 @@ export const RequestUrlBar = forwardRef<RequestUrlBarHandle, Props>(({
<div className="urlbar">
<MethodDropdown
ref={methodDropdownRef}
onChange={() => onMethodChange(request, method)}
onChange={(methodValue: string) => onMethodChange(request, methodValue)}
method={method}
/>
<div className="urlbar__flex__right">