Skip to content

Commit 1630d8f

Browse files
committed
patch: fix null check
1 parent 67fb83c commit 1630d8f

File tree

1 file changed

+1
-1
lines changed
  • apps/client/components/TicketDetails

1 file changed

+1
-1
lines changed

apps/client/components/TicketDetails/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -976,7 +976,7 @@ export default function Ticket() {
976976
)}
977977
</Button>
978978

979-
{data.ticket.following.length > 0 && (
979+
{data.ticket.following && data.ticket.following.length > 0 && (
980980
<div className="flex space-x-2">
981981
<Popover>
982982
<PopoverTrigger>

0 commit comments

Comments
 (0)