Conversation
|
Review the following changes in direct dependencies. Learn more about Socket for GitHub.
|
|
Caution Review the following alerts detected in dependencies. According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. It is recommended to resolve "Warn" alerts too. Learn more about Socket for GitHub.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
There was a problem hiding this comment.
Bug: Async Client Initialization Causes Null Assertion Errors
The ClaimRewardButton component's handleRedeemDelegation function uses non-null assertions (!) on pimlicoClient and bundlerClient. These clients, returned by usePimlicoServices, are initialized asynchronously and are initially undefined, creating a race condition that can lead to runtime errors if the function is called before they are ready.
examples/invitation-link-example/src/components/ClaimRewardButton.tsx#L46-L65
examples/invitation-link-example/src/components/ClaimRewardButton.tsx#L30-L32
Was this report helpful? Give feedback by reacting with 👍 or 👎
Description
Adds invitation link example