Skip to content

Commit

Permalink
Make null safe
Browse files Browse the repository at this point in the history
  • Loading branch information
AhyoungRyu committed Sep 8, 2023
1 parent 7465cac commit 47f3187
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/components/CustomChannelComponent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -165,8 +165,8 @@ export function CustomChannelComponent(props: CustomChannelComponentProps) {
activeSpinnerId={activeSpinnerId}
botUser={botUser}
lastMessageRef={lastMessageRef}
chainTop={grouppedMessage.chaintop}
chainBottom={grouppedMessage.chainBottom}
chainTop={grouppedMessage?.chaintop}
chainBottom={grouppedMessage?.chainBottom}
/>
{message.messageId === lastMessage.messageId &&
dynamicReplyOptions.length > 0 && (
Expand Down

0 comments on commit 47f3187

Please sign in to comment.