From 7517a409a1a502c747eb4598492a88cec4e8d58c Mon Sep 17 00:00:00 2001 From: Vijay A Date: Sun, 19 Sep 2021 07:26:25 +0530 Subject: fix: fix js error; styling --- recipes/producthunt/package.json | 2 +- recipes/producthunt/webview.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'recipes/producthunt') diff --git a/recipes/producthunt/package.json b/recipes/producthunt/package.json index 293f110..6f4bfb9 100644 --- a/recipes/producthunt/package.json +++ b/recipes/producthunt/package.json @@ -1,7 +1,7 @@ { "id": "producthunt", "name": "Product Hunt", - "version": "1.0.0", + "version": "1.0.1", "license": "MIT", "repository": "https://github.com/alexdevero/franz-producthunt-recipe", "config": { diff --git a/recipes/producthunt/webview.js b/recipes/producthunt/webview.js index 69dcc95..c03de9b 100644 --- a/recipes/producthunt/webview.js +++ b/recipes/producthunt/webview.js @@ -1,5 +1,5 @@ module.exports = (Ferdi) => { - const getMessages = function getMessages() { + const getMessages = () => { Ferdi.setBadge(document.querySelector('[class*=header_] [class*=content_] [class*=actions_] [class*=notificationsButton_]').innerText) } -- cgit v1.2.3-70-g09d2