{"action":"created","comment":{"url":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/comments/344690956","pull_request_review_id":314867213,"id":344690956,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDM0NDY5MDk1Ng==","diff_hunk":"@@ -60,13 +75,48 @@ export class Header extends PureComponent {\n               />\n             </Link>\n             <div className=\"header__delivery-info\">\n-              <Input\n-                name=\"address\"\n-                value={address}\n-                placeholder=\"Address\"\n-                iconUrl=\"./images/locationImg.svg\"\n-                onChange={this.handleChange}\n-              />\n+              <div className=\"header__locations-info\">\n+                <Input\n+                  name=\"address\"\n+                  value={address}\n+                  placeholder={addressPlaceholder || 'Address'}\n+                  iconUrl=\"./images/locationImg.svg\"\n+                  onChange={this.handleChange}\n+                />\n+\n+                {\n+                  this.state.address && (\n+                    <div className=\"header__dropdown\" id=\"header__dropdown\">\n+                      {\n+                        locationsVariants\n+                          .filter(({ title }) => title\n+                            .toLowerCase()\n+                            .includes(this.state.address.toLowerCase()))","path":"src/components/Header/Header.js","position":94,"original_position":87,"commit_id":"c9427cd01082eb2fe49bb7c26c196df51e595702","original_commit_id":"c9427cd01082eb2fe49bb7c26c196df51e595702","user":{"login":"YuriiHoliuk","id":24321188,"node_id":"MDQ6VXNlcjI0MzIxMTg4","avatar_url":"https://avatars2.githubusercontent.com/u/24321188?v=4","gravatar_id":"","url":"https://api.github.com/users/YuriiHoliuk","html_url":"https://github.com/YuriiHoliuk","followers_url":"https://api.github.com/users/YuriiHoliuk/followers","following_url":"https://api.github.com/users/YuriiHoliuk/following{/other_user}","gists_url":"https://api.github.com/users/YuriiHoliuk/gists{/gist_id}","starred_url":"https://api.github.com/users/YuriiHoliuk/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/YuriiHoliuk/subscriptions","organizations_url":"https://api.github.com/users/YuriiHoliuk/orgs","repos_url":"https://api.github.com/users/YuriiHoliuk/repos","events_url":"https://api.github.com/users/YuriiHoliuk/events{/privacy}","received_events_url":"https://api.github.com/users/YuriiHoliuk/received_events","type":"User","site_admin":false},"body":"destruct state","created_at":"2019-11-11T12:34:40Z","updated_at":"2019-11-11T12:44:54Z","html_url":"https://github.com/mate-academy/react_uber-eats/pull/20#discussion_r344690956","pull_request_url":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/20","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/comments/344690956"},"html":{"href":"https://github.com/mate-academy/react_uber-eats/pull/20#discussion_r344690956"},"pull_request":{"href":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/20"}}},"pull_request":{"url":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/20","id":325691031,"node_id":"MDExOlB1bGxSZXF1ZXN0MzI1NjkxMDMx","html_url":"https://github.com/mate-academy/react_uber-eats/pull/20","diff_url":"https://github.com/mate-academy/react_uber-eats/pull/20.diff","patch_url":"https://github.com/mate-academy/react_uber-eats/pull/20.patch","issue_url":"https://api.github.com/repos/mate-academy/react_uber-eats/issues/20","number":20,"state":"open","locked":false,"title":"Kseniia's solution ","user":{"login":"KseniiaMazan","id":52978168,"node_id":"MDQ6VXNlcjUyOTc4MTY4","avatar_url":"https://avatars3.githubusercontent.com/u/52978168?v=4","gravatar_id":"","url":"https://api.github.com/users/KseniiaMazan","html_url":"https://github.com/KseniiaMazan","followers_url":"https://api.github.com/users/KseniiaMazan/followers","following_url":"https://api.github.com/users/KseniiaMazan/following{/other_user}","gists_url":"https://api.github.com/users/KseniiaMazan/gists{/gist_id}","starred_url":"https://api.github.com/users/KseniiaMazan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KseniiaMazan/subscriptions","organizations_url":"https://api.github.com/users/KseniiaMazan/orgs","repos_url":"https://api.github.com/users/KseniiaMazan/repos","events_url":"https://api.github.com/users/KseniiaMazan/events{/privacy}","received_events_url":"https://api.github.com/users/KseniiaMazan/received_events","type":"User","site_admin":false},"body":"\r\n[DEMO LINK](https://KseniiaMazan.github.io/react_uber-eats/)","created_at":"2019-10-08T09:51:48Z","updated_at":"2019-11-11T12:44:53Z","closed_at":null,"merged_at":null,"merge_commit_sha":"95601a51d8ea16338e0bda1e2412fa45f5e63f96","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/20/commits","review_comments_url":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/20/comments","review_comment_url":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mate-academy/react_uber-eats/issues/20/comments","statuses_url":"https://api.github.com/repos/mate-academy/react_uber-eats/statuses/c9427cd01082eb2fe49bb7c26c196df51e595702","head":{"label":"KseniiaMazan:fs_on_july19_Kseniia","ref":"fs_on_july19_Kseniia","sha":"c9427cd01082eb2fe49bb7c26c196df51e595702","user":{"login":"KseniiaMazan","id":52978168,"node_id":"MDQ6VXNlcjUyOTc4MTY4","avatar_url":"https://avatars3.githubusercontent.com/u/52978168?v=4","gravatar_id":"","url":"https://api.github.com/users/KseniiaMazan","html_url":"https://github.com/KseniiaMazan","followers_url":"https://api.github.com/users/KseniiaMazan/followers","following_url":"https://api.github.com/users/KseniiaMazan/following{/other_user}","gists_url":"https://api.github.com/users/KseniiaMazan/gists{/gist_id}","starred_url":"https://api.github.com/users/KseniiaMazan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KseniiaMazan/subscriptions","organizations_url":"https://api.github.com/users/KseniiaMazan/orgs","repos_url":"https://api.github.com/users/KseniiaMazan/repos","events_url":"https://api.github.com/users/KseniiaMazan/events{/privacy}","received_events_url":"https://api.github.com/users/KseniiaMazan/received_events","type":"User","site_admin":false},"repo":{"id":212665645,"node_id":"MDEwOlJlcG9zaXRvcnkyMTI2NjU2NDU=","name":"react_uber-eats","full_name":"KseniiaMazan/react_uber-eats","private":false,"owner":{"login":"KseniiaMazan","id":52978168,"node_id":"MDQ6VXNlcjUyOTc4MTY4","avatar_url":"https://avatars3.githubusercontent.com/u/52978168?v=4","gravatar_id":"","url":"https://api.github.com/users/KseniiaMazan","html_url":"https://github.com/KseniiaMazan","followers_url":"https://api.github.com/users/KseniiaMazan/followers","following_url":"https://api.github.com/users/KseniiaMazan/following{/other_user}","gists_url":"https://api.github.com/users/KseniiaMazan/gists{/gist_id}","starred_url":"https://api.github.com/users/KseniiaMazan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/KseniiaMazan/subscriptions","organizations_url":"https://api.github.com/users/KseniiaMazan/orgs","repos_url":"https://api.github.com/users/KseniiaMazan/repos","events_url":"https://api.github.com/users/KseniiaMazan/events{/privacy}","received_events_url":"https://api.github.com/users/KseniiaMazan/received_events","type":"User","site_admin":false},"html_url":"https://github.com/KseniiaMazan/react_uber-eats","description":null,"fork":true,"url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats","forks_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/forks","keys_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/teams","hooks_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/hooks","issue_events_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/issues/events{/number}","events_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/events","assignees_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/assignees{/user}","branches_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/branches{/branch}","tags_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/tags","blobs_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/git/refs{/sha}","trees_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/statuses/{sha}","languages_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/languages","stargazers_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/stargazers","contributors_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/contributors","subscribers_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/subscribers","subscription_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/subscription","commits_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/commits{/sha}","git_commits_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/git/commits{/sha}","comments_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/comments{/number}","issue_comment_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/issues/comments{/number}","contents_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/contents/{+path}","compare_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/merges","archive_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/downloads","issues_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/issues{/number}","pulls_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/pulls{/number}","milestones_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/milestones{/number}","notifications_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/labels{/name}","releases_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/releases{/id}","deployments_url":"https://api.github.com/repos/KseniiaMazan/react_uber-eats/deployments","created_at":"2019-10-03T19:44:18Z","updated_at":"2019-10-03T19:44:19Z","pushed_at":"2019-11-11T12:25:23Z","git_url":"git://github.com/KseniiaMazan/react_uber-eats.git","ssh_url":"git@github.com:KseniiaMazan/react_uber-eats.git","clone_url":"https://github.com/KseniiaMazan/react_uber-eats.git","svn_url":"https://github.com/KseniiaMazan/react_uber-eats","homepage":null,"size":6476,"stargazers_count":0,"watchers_count":0,"language":null,"has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"mate-academy:master","ref":"master","sha":"110719bf773e556e444ab2cbeff4490b9999668f","user":{"login":"mate-academy","id":28379899,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4Mzc5ODk5","avatar_url":"https://avatars1.githubusercontent.com/u/28379899?v=4","gravatar_id":"","url":"https://api.github.com/users/mate-academy","html_url":"https://github.com/mate-academy","followers_url":"https://api.github.com/users/mate-academy/followers","following_url":"https://api.github.com/users/mate-academy/following{/other_user}","gists_url":"https://api.github.com/users/mate-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/mate-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mate-academy/subscriptions","organizations_url":"https://api.github.com/users/mate-academy/orgs","repos_url":"https://api.github.com/users/mate-academy/repos","events_url":"https://api.github.com/users/mate-academy/events{/privacy}","received_events_url":"https://api.github.com/users/mate-academy/received_events","type":"Organization","site_admin":false},"repo":{"id":203096953,"node_id":"MDEwOlJlcG9zaXRvcnkyMDMwOTY5NTM=","name":"react_uber-eats","full_name":"mate-academy/react_uber-eats","private":false,"owner":{"login":"mate-academy","id":28379899,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI4Mzc5ODk5","avatar_url":"https://avatars1.githubusercontent.com/u/28379899?v=4","gravatar_id":"","url":"https://api.github.com/users/mate-academy","html_url":"https://github.com/mate-academy","followers_url":"https://api.github.com/users/mate-academy/followers","following_url":"https://api.github.com/users/mate-academy/following{/other_user}","gists_url":"https://api.github.com/users/mate-academy/gists{/gist_id}","starred_url":"https://api.github.com/users/mate-academy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mate-academy/subscriptions","organizations_url":"https://api.github.com/users/mate-academy/orgs","repos_url":"https://api.github.com/users/mate-academy/repos","events_url":"https://api.github.com/users/mate-academy/events{/privacy}","received_events_url":"https://api.github.com/users/mate-academy/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/mate-academy/react_uber-eats","description":null,"fork":false,"url":"https://api.github.com/repos/mate-academy/react_uber-eats","forks_url":"https://api.github.com/repos/mate-academy/react_uber-eats/forks","keys_url":"https://api.github.com/repos/mate-academy/react_uber-eats/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mate-academy/react_uber-eats/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mate-academy/react_uber-eats/teams","hooks_url":"https://api.github.com/repos/mate-academy/react_uber-eats/hooks","issue_events_url":"https://api.github.com/repos/mate-academy/react_uber-eats/issues/events{/number}","events_url":"https://api.github.com/repos/mate-academy/react_uber-eats/events","assignees_url":"https://api.github.com/repos/mate-academy/react_uber-eats/assignees{/user}","branches_url":"https://api.github.com/repos/mate-academy/react_uber-eats/branches{/branch}","tags_url":"https://api.github.com/repos/mate-academy/react_uber-eats/tags","blobs_url":"https://api.github.com/repos/mate-academy/react_uber-eats/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mate-academy/react_uber-eats/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mate-academy/react_uber-eats/git/refs{/sha}","trees_url":"https://api.github.com/repos/mate-academy/react_uber-eats/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mate-academy/react_uber-eats/statuses/{sha}","languages_url":"https://api.github.com/repos/mate-academy/react_uber-eats/languages","stargazers_url":"https://api.github.com/repos/mate-academy/react_uber-eats/stargazers","contributors_url":"https://api.github.com/repos/mate-academy/react_uber-eats/contributors","subscribers_url":"https://api.github.com/repos/mate-academy/react_uber-eats/subscribers","subscription_url":"https://api.github.com/repos/mate-academy/react_uber-eats/subscription","commits_url":"https://api.github.com/repos/mate-academy/react_uber-eats/commits{/sha}","git_commits_url":"https://api.github.com/repos/mate-academy/react_uber-eats/git/commits{/sha}","comments_url":"https://api.github.com/repos/mate-academy/react_uber-eats/comments{/number}","issue_comment_url":"https://api.github.com/repos/mate-academy/react_uber-eats/issues/comments{/number}","contents_url":"https://api.github.com/repos/mate-academy/react_uber-eats/contents/{+path}","compare_url":"https://api.github.com/repos/mate-academy/react_uber-eats/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mate-academy/react_uber-eats/merges","archive_url":"https://api.github.com/repos/mate-academy/react_uber-eats/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mate-academy/react_uber-eats/downloads","issues_url":"https://api.github.com/repos/mate-academy/react_uber-eats/issues{/number}","pulls_url":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls{/number}","milestones_url":"https://api.github.com/repos/mate-academy/react_uber-eats/milestones{/number}","notifications_url":"https://api.github.com/repos/mate-academy/react_uber-eats/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mate-academy/react_uber-eats/labels{/name}","releases_url":"https://api.github.com/repos/mate-academy/react_uber-eats/releases{/id}","deployments_url":"https://api.github.com/repos/mate-academy/react_uber-eats/deployments","created_at":"2019-08-19T04:15:11Z","updated_at":"2019-10-21T12:45:22Z","pushed_at":"2019-11-11T12:25:00Z","git_url":"git://github.com/mate-academy/react_uber-eats.git","ssh_url":"git@github.com:mate-academy/react_uber-eats.git","clone_url":"https://github.com/mate-academy/react_uber-eats.git","svn_url":"https://github.com/mate-academy/react_uber-eats","homepage":null,"size":4765,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":46,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":26,"license":null,"forks":46,"open_issues":26,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/20"},"html":{"href":"https://github.com/mate-academy/react_uber-eats/pull/20"},"issue":{"href":"https://api.github.com/repos/mate-academy/react_uber-eats/issues/20"},"comments":{"href":"https://api.github.com/repos/mate-academy/react_uber-eats/issues/20/comments"},"review_comments":{"href":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/20/comments"},"review_comment":{"href":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mate-academy/react_uber-eats/pulls/20/commits"},"statuses":{"href":"https://api.github.com/repos/mate-academy/react_uber-eats/statuses/c9427cd01082eb2fe49bb7c26c196df51e595702"}},"author_association":"NONE"}}
{"actor":{"display_login":"YuriiHoliuk"}}