diff --git a/.gitignore b/.gitignore
index 8bea256a6..bf508eb6c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,3 +1,4 @@
node_modules
.idea
dist
+npm-debug.log
diff --git a/app/components/UrlInput.js b/app/components/RequestUrlBar.js
similarity index 73%
rename from app/components/UrlInput.js
rename to app/components/RequestUrlBar.js
index 16332dca2..66ba7e14a 100644
--- a/app/components/UrlInput.js
+++ b/app/components/RequestUrlBar.js
@@ -4,13 +4,16 @@ import Dropdown from './base/Dropdown';
import {METHODS} from '../constants/global';
class UrlInput extends Component {
+ shouldComponentUpdate(nextProps) {
+ return this.props.request.url !== nextProps.request.url;
+ }
render () {
- const {onUrlChange, onMethodChange, urlValue, method} = this.props;
+ const {onUrlChange, onMethodChange, request} = this.props;
return (
{METHODS.map((method) => (
@@ -25,7 +28,7 @@ class UrlInput extends Component {