Skip to content

Use useSonarEntities with entity dropdown in sale phase#7

Merged
WillSewell merged 1 commit intomainfrom
use-sonar-entities-with-entity-dropdown
Feb 25, 2026
Merged

Use useSonarEntities with entity dropdown in sale phase#7
WillSewell merged 1 commit intomainfrom
use-sonar-entities-with-entity-dropdown

Conversation

@WillSewell
Copy link
Copy Markdown
Collaborator

@WillSewell WillSewell commented Feb 25, 2026

Now that we are not requiring wallet linking for sales by default, we can no longer lookup entities by wallet, and instead need a UI for the user to select the entity they want to use to invest with.

  • Replace useSonarEntity with useSonarEntities so a single hook call serves both the registration and sale phases
  • Add an entity dropdown in the sale phase, shown only when the user has multiple entities
  • Remove the redundant NotEligibleMessage box — EntityCard already surfaces eligibility state via EntityStateDescription
Screen.Recording.2026-02-25.at.11.56.57.mov

Replace useSonarEntity with useSonarEntities so a single hook call
serves both the registration and sale phases. In the sale phase, show
a dropdown to select the active entity when multiple entities exist
(hidden when only one entity is present). Remove the redundant
NotEligibleMessage box since EntityCard already surfaces eligibility
state via EntityStateDescription.
@WillSewell WillSewell merged commit dd72192 into main Feb 25, 2026
1 check passed
@WillSewell WillSewell deleted the use-sonar-entities-with-entity-dropdown branch February 25, 2026 13:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants