Skip to content

Commit

Permalink
chore(front): remove unecessary optional access
Browse files Browse the repository at this point in the history
  • Loading branch information
prastoin committed Jan 23, 2025
1 parent bff83ee commit ceaf618
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export const triggerUpdateRelationsOptimisticEffect = ({
}

if (isRecordConnection) {
return value?.edges.map(({ node }: any) => node as RecordGqlNode);
return value.edges.map(({ node }: any) => node as RecordGqlNode);
}

return [value] as RecordGqlNode[];
Expand Down

0 comments on commit ceaf618

Please sign in to comment.