payload: {"action":"closed","number":8,"pull_request":{"url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/pulls/8","id":305233716,"node_id":"MDExOlB1bGxSZXF1ZXN0MzA1MjMzNzE2","html_url":"https://github.com/bluebill1049/react-hook-form-website/pull/8","diff_url":"https://github.com/bluebill1049/react-hook-form-website/pull/8.diff","patch_url":"https://github.com/bluebill1049/react-hook-form-website/pull/8.patch","issue_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/issues/8","number":8,"state":"closed","locked":false,"title":"fix(example): fix bug in defaultExample","user":{"login":"tknickman","id":2933988,"node_id":"MDQ6VXNlcjI5MzM5ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/2933988?v=4","gravatar_id":"","url":"https://api.github.com/users/tknickman","html_url":"https://github.com/tknickman","followers_url":"https://api.github.com/users/tknickman/followers","following_url":"https://api.github.com/users/tknickman/following{/other_user}","gists_url":"https://api.github.com/users/tknickman/gists{/gist_id}","starred_url":"https://api.github.com/users/tknickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tknickman/subscriptions","organizations_url":"https://api.github.com/users/tknickman/orgs","repos_url":"https://api.github.com/users/tknickman/repos","events_url":"https://api.github.com/users/tknickman/events{/privacy}","received_events_url":"https://api.github.com/users/tknickman/received_events","type":"User","site_admin":false},"body":"Great library/site!\r\n\r\nI was playing around with the examples and noticed there is a small issue with the code for the default example (first one here: https://react-hook-form.com/get-started). \r\n\r\nThe two issues are:\r\n1. The error object is checking the wrong field for errors (checking errors from the `example` field, not the `exampleRequired` field)\r\n2. The error `span`, is being rendered a string instead of html. \r\n\r\nThis fixes both of those issues. \r\n\r\nThanks!","created_at":"2019-08-07T16:42:02Z","updated_at":"2019-08-07T22:12:48Z","closed_at":"2019-08-07T22:12:48Z","merged_at":"2019-08-07T22:12:48Z","merge_commit_sha":"8a866956f78a20a77854f5e4fbe061d1e1a71402","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/pulls/8/commits","review_comments_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/pulls/8/comments","review_comment_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/issues/8/comments","statuses_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/statuses/c9ac092be5a1a367f1a3f5d60fa4633c80153bce","head":{"label":"tknickman:patch-1","ref":"patch-1","sha":"c9ac092be5a1a367f1a3f5d60fa4633c80153bce","user":{"login":"tknickman","id":2933988,"node_id":"MDQ6VXNlcjI5MzM5ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/2933988?v=4","gravatar_id":"","url":"https://api.github.com/users/tknickman","html_url":"https://github.com/tknickman","followers_url":"https://api.github.com/users/tknickman/followers","following_url":"https://api.github.com/users/tknickman/following{/other_user}","gists_url":"https://api.github.com/users/tknickman/gists{/gist_id}","starred_url":"https://api.github.com/users/tknickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tknickman/subscriptions","organizations_url":"https://api.github.com/users/tknickman/orgs","repos_url":"https://api.github.com/users/tknickman/repos","events_url":"https://api.github.com/users/tknickman/events{/privacy}","received_events_url":"https://api.github.com/users/tknickman/received_events","type":"User","site_admin":false},"repo":{"id":201088866,"node_id":"MDEwOlJlcG9zaXRvcnkyMDEwODg4NjY=","name":"react-hook-form-website","full_name":"tknickman/react-hook-form-website","private":false,"owner":{"login":"tknickman","id":2933988,"node_id":"MDQ6VXNlcjI5MzM5ODg=","avatar_url":"https://avatars1.githubusercontent.com/u/2933988?v=4","gravatar_id":"","url":"https://api.github.com/users/tknickman","html_url":"https://github.com/tknickman","followers_url":"https://api.github.com/users/tknickman/followers","following_url":"https://api.github.com/users/tknickman/following{/other_user}","gists_url":"https://api.github.com/users/tknickman/gists{/gist_id}","starred_url":"https://api.github.com/users/tknickman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tknickman/subscriptions","organizations_url":"https://api.github.com/users/tknickman/orgs","repos_url":"https://api.github.com/users/tknickman/repos","events_url":"https://api.github.com/users/tknickman/events{/privacy}","received_events_url":"https://api.github.com/users/tknickman/received_events","type":"User","site_admin":false},"html_url":"https://github.com/tknickman/react-hook-form-website","description":"Rect Hook Form website","fork":true,"url":"https://api.github.com/repos/tknickman/react-hook-form-website","forks_url":"https://api.github.com/repos/tknickman/react-hook-form-website/forks","keys_url":"https://api.github.com/repos/tknickman/react-hook-form-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tknickman/react-hook-form-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tknickman/react-hook-form-website/teams","hooks_url":"https://api.github.com/repos/tknickman/react-hook-form-website/hooks","issue_events_url":"https://api.github.com/repos/tknickman/react-hook-form-website/issues/events{/number}","events_url":"https://api.github.com/repos/tknickman/react-hook-form-website/events","assignees_url":"https://api.github.com/repos/tknickman/react-hook-form-website/assignees{/user}","branches_url":"https://api.github.com/repos/tknickman/react-hook-form-website/branches{/branch}","tags_url":"https://api.github.com/repos/tknickman/react-hook-form-website/tags","blobs_url":"https://api.github.com/repos/tknickman/react-hook-form-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tknickman/react-hook-form-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tknickman/react-hook-form-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/tknickman/react-hook-form-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tknickman/react-hook-form-website/statuses/{sha}","languages_url":"https://api.github.com/repos/tknickman/react-hook-form-website/languages","stargazers_url":"https://api.github.com/repos/tknickman/react-hook-form-website/stargazers","contributors_url":"https://api.github.com/repos/tknickman/react-hook-form-website/contributors","subscribers_url":"https://api.github.com/repos/tknickman/react-hook-form-website/subscribers","subscription_url":"https://api.github.com/repos/tknickman/react-hook-form-website/subscription","commits_url":"https://api.github.com/repos/tknickman/react-hook-form-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/tknickman/react-hook-form-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/tknickman/react-hook-form-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/tknickman/react-hook-form-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/tknickman/react-hook-form-website/contents/{+path}","compare_url":"https://api.github.com/repos/tknickman/react-hook-form-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tknickman/react-hook-form-website/merges","archive_url":"https://api.github.com/repos/tknickman/react-hook-form-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tknickman/react-hook-form-website/downloads","issues_url":"https://api.github.com/repos/tknickman/react-hook-form-website/issues{/number}","pulls_url":"https://api.github.com/repos/tknickman/react-hook-form-website/pulls{/number}","milestones_url":"https://api.github.com/repos/tknickman/react-hook-form-website/milestones{/number}","notifications_url":"https://api.github.com/repos/tknickman/react-hook-form-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tknickman/react-hook-form-website/labels{/name}","releases_url":"https://api.github.com/repos/tknickman/react-hook-form-website/releases{/id}","deployments_url":"https://api.github.com/repos/tknickman/react-hook-form-website/deployments","created_at":"2019-08-07T16:39:21Z","updated_at":"2019-08-07T16:39:23Z","pushed_at":"2019-08-07T16:39:55Z","git_url":"git://github.com/tknickman/react-hook-form-website.git","ssh_url":"git@github.com:tknickman/react-hook-form-website.git","clone_url":"https://github.com/tknickman/react-hook-form-website.git","svn_url":"https://github.com/tknickman/react-hook-form-website","homepage":"http://react-hook-form.now.sh","size":3116,"stargazers_count":0,"watchers_count":0,"language":"TypeScript","has_issues":false,"has_projects":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"bluebill1049:master","ref":"master","sha":"74a136484c4ac3130c79fafa0f649e912ee8d5a9","user":{"login":"bluebill1049","id":10513364,"node_id":"MDQ6VXNlcjEwNTEzMzY0","avatar_url":"https://avatars3.githubusercontent.com/u/10513364?v=4","gravatar_id":"","url":"https://api.github.com/users/bluebill1049","html_url":"https://github.com/bluebill1049","followers_url":"https://api.github.com/users/bluebill1049/followers","following_url":"https://api.github.com/users/bluebill1049/following{/other_user}","gists_url":"https://api.github.com/users/bluebill1049/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebill1049/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebill1049/subscriptions","organizations_url":"https://api.github.com/users/bluebill1049/orgs","repos_url":"https://api.github.com/users/bluebill1049/repos","events_url":"https://api.github.com/users/bluebill1049/events{/privacy}","received_events_url":"https://api.github.com/users/bluebill1049/received_events","type":"User","site_admin":false},"repo":{"id":187728921,"node_id":"MDEwOlJlcG9zaXRvcnkxODc3Mjg5MjE=","name":"react-hook-form-website","full_name":"bluebill1049/react-hook-form-website","private":false,"owner":{"login":"bluebill1049","id":10513364,"node_id":"MDQ6VXNlcjEwNTEzMzY0","avatar_url":"https://avatars3.githubusercontent.com/u/10513364?v=4","gravatar_id":"","url":"https://api.github.com/users/bluebill1049","html_url":"https://github.com/bluebill1049","followers_url":"https://api.github.com/users/bluebill1049/followers","following_url":"https://api.github.com/users/bluebill1049/following{/other_user}","gists_url":"https://api.github.com/users/bluebill1049/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebill1049/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebill1049/subscriptions","organizations_url":"https://api.github.com/users/bluebill1049/orgs","repos_url":"https://api.github.com/users/bluebill1049/repos","events_url":"https://api.github.com/users/bluebill1049/events{/privacy}","received_events_url":"https://api.github.com/users/bluebill1049/received_events","type":"User","site_admin":false},"html_url":"https://github.com/bluebill1049/react-hook-form-website","description":"Rect Hook Form website","fork":false,"url":"https://api.github.com/repos/bluebill1049/react-hook-form-website","forks_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/forks","keys_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/teams","hooks_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/hooks","issue_events_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/issues/events{/number}","events_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/events","assignees_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/assignees{/user}","branches_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/branches{/branch}","tags_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/tags","blobs_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/statuses/{sha}","languages_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/languages","stargazers_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/stargazers","contributors_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/contributors","subscribers_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/subscribers","subscription_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/subscription","commits_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/contents/{+path}","compare_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/merges","archive_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/downloads","issues_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/issues{/number}","pulls_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/pulls{/number}","milestones_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/milestones{/number}","notifications_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/labels{/name}","releases_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/releases{/id}","deployments_url":"https://api.github.com/repos/bluebill1049/react-hook-form-website/deployments","created_at":"2019-05-20T23:49:28Z","updated_at":"2019-08-06T11:19:25Z","pushed_at":"2019-08-07T22:12:48Z","git_url":"git://github.com/bluebill1049/react-hook-form-website.git","ssh_url":"git@github.com:bluebill1049/react-hook-form-website.git","clone_url":"https://github.com/bluebill1049/react-hook-form-website.git","svn_url":"https://github.com/bluebill1049/react-hook-form-website","homepage":"http://react-hook-form.now.sh","size":3112,"stargazers_count":6,"watchers_count":6,"language":"TypeScript","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":6,"mirror_url":null,"archived":false,"disabled":false,"open_issues_count":0,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":6,"open_issues":0,"watchers":6,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/bluebill1049/react-hook-form-website/pulls/8"},"html":{"href":"https://github.com/bluebill1049/react-hook-form-website/pull/8"},"issue":{"href":"https://api.github.com/repos/bluebill1049/react-hook-form-website/issues/8"},"comments":{"href":"https://api.github.com/repos/bluebill1049/react-hook-form-website/issues/8/comments"},"review_comments":{"href":"https://api.github.com/repos/bluebill1049/react-hook-form-website/pulls/8/comments"},"review_comment":{"href":"https://api.github.com/repos/bluebill1049/react-hook-form-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/bluebill1049/react-hook-form-website/pulls/8/commits"},"statuses":{"href":"https://api.github.com/repos/bluebill1049/react-hook-form-website/statuses/c9ac092be5a1a367f1a3f5d60fa4633c80153bce"}},"author_association":"NONE","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"bluebill1049","id":10513364,"node_id":"MDQ6VXNlcjEwNTEzMzY0","avatar_url":"https://avatars3.githubusercontent.com/u/10513364?v=4","gravatar_id":"","url":"https://api.github.com/users/bluebill1049","html_url":"https://github.com/bluebill1049","followers_url":"https://api.github.com/users/bluebill1049/followers","following_url":"https://api.github.com/users/bluebill1049/following{/other_user}","gists_url":"https://api.github.com/users/bluebill1049/gists{/gist_id}","starred_url":"https://api.github.com/users/bluebill1049/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bluebill1049/subscriptions","organizations_url":"https://api.github.com/users/bluebill1049/orgs","repos_url":"https://api.github.com/users/bluebill1049/repos","events_url":"https://api.github.com/users/bluebill1049/events{/privacy}","received_events_url":"https://api.github.com/users/bluebill1049/received_events","type":"User","site_admin":false},"comments":3,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":1,"deletions":1,"changed_files":1}}
other: {"actor":{"display_login":"bluebill1049"}}