fix undefined reference

This commit is contained in:
keyan 2023-01-26 17:51:50 -06:00
parent 291fe24363
commit f53c5ff2eb
1 changed files with 1 additions and 1 deletions

View File

@ -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
}