From f53c5ff2eb65502d42f40835b4f6d65d6ead77f7 Mon Sep 17 00:00:00 2001 From: keyan Date: Thu, 26 Jan 2023 17:51:50 -0600 Subject: [PATCH] fix undefined reference --- components/pay-bounty.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/pay-bounty.js b/components/pay-bounty.js index cc2325bc..64023050 100644 --- a/components/pay-bounty.js +++ b/components/pay-bounty.js @@ -81,7 +81,7 @@ export default function PayBounty ({ children, item }) { } } - if (item.mine || item.root.user.name !== me.name) { + if (!me || item.mine || item.root.user.name !== me.name) { return null }