{"action":"opened","issue":{"url":"https://api.github.com/repos/KurokuLabs/react-static-favicons/issues/1","repository_url":"https://api.github.com/repos/KurokuLabs/react-static-favicons","labels_url":"https://api.github.com/repos/KurokuLabs/react-static-favicons/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/KurokuLabs/react-static-favicons/issues/1/comments","events_url":"https://api.github.com/repos/KurokuLabs/react-static-favicons/issues/1/events","html_url":"https://github.com/KurokuLabs/react-static-favicons/issues/1","id":362596803,"node_id":"MDU6SXNzdWUzNjI1OTY4MDM=","number":1,"title":"await error help needed","user":{"login":"kosirm","id":54502,"node_id":"MDQ6VXNlcjU0NTAy","avatar_url":"https://avatars0.githubusercontent.com/u/54502?v=4","gravatar_id":"","url":"https://api.github.com/users/kosirm","html_url":"https://github.com/kosirm","followers_url":"https://api.github.com/users/kosirm/followers","following_url":"https://api.github.com/users/kosirm/following{/other_user}","gists_url":"https://api.github.com/users/kosirm/gists{/gist_id}","starred_url":"https://api.github.com/users/kosirm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kosirm/subscriptions","organizations_url":"https://api.github.com/users/kosirm/orgs","repos_url":"https://api.github.com/users/kosirm/repos","events_url":"https://api.github.com/users/kosirm/events{/privacy}","received_events_url":"https://api.github.com/users/kosirm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-09-21T12:38:53Z","updated_at":"2018-09-21T12:38:53Z","closed_at":null,"author_association":"NONE","body":"Hi, thanks for this code!\r\nI'm trying to use it on my site, but got syntax error that await is a reserved word.\r\nCan you please help me?\r\nThis is my error:\r\n```\r\nSyntaxError: C:/Users/Milan/Documents/dev/react-static/react-static-netlify-cms/react-static-netlifycms/static.config.js: await is a reserved word (100:28)\r\n     98 |   renderToHtml: (render, Comp, meta) => {\r\n     99 |     const sheet = new ServerStyleSheet()\r\n  > 100 |     meta.faviconsElements = await reactStaticFavicons.render()\r\n        |                             ^\r\n    101 |     const html = render(sheet.collectStyles(<Comp />))\r\n    102 |     meta.styleTags = sheet.getStyleElement()\r\n    103 |     return html\r\n```\r\nThis is my code:\r\n```\r\nrenderToHtml: (render, Comp, meta) => {\r\n    const sheet = new ServerStyleSheet()\r\n    meta.faviconsElements = await reactStaticFavicons.render()\r\n    const html = render(sheet.collectStyles(<Comp />))\r\n    meta.styleTags = sheet.getStyleElement()\r\n    return html\r\n  },\r\n```"}}
{"actor":{"display_login":"kosirm"}}