Skip to content

Commit

Permalink
fix: remove unnecessary function call (#611)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jul 30, 2024
1 parent 3cc67f2 commit 3cde1a1
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions packages/react/src/context/providers/ContentPartProvider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ const useContentPartContext = (partIndex: number) => {
() => getContentPartState(useMessage.getState(), undefined, partIndex)!,
);

getContentPartState(useMessage.getState(), useContentPart, partIndex);

return { useContentPart };
});

Expand Down

0 comments on commit 3cde1a1

Please sign in to comment.