Skip to content

Commit

Permalink
Fix(web-react): Set correct component in Dropdown deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
crishpeen authored and literat committed Mar 15, 2024
1 parent c8f228a commit c63c128
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ export const useDropdownAriaProps = (props: UseDropdownAriaPropsProps): UseDropd
useDeprecationMessage({
method: 'property',
trigger: !!deprecatedPlacements[placement as keyof typeof deprecatedPlacements],
componentName: 'Tooltip',
componentName: 'Dropdown',
propertyProps: {
deprecatedValue: placement,
newValue: deprecatedPlacements[placement as keyof typeof deprecatedPlacements],
Expand Down

0 comments on commit c63c128

Please sign in to comment.