Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Playground example model selector working (shadcn-ui#4507)
Issue: The ModelItem component's onPeek handler was sometimes logging incorrect data, causing the model selector to appear inconsistent. Changes Made: Verified that the aria-selected attribute is true before calling onPeek(model), ensuring the function is only called when the element is actually selected. Fixed Model Selector Inconsistency in Playground Example fixes shadcn-ui#4506
- Loading branch information