Skip to content

Commit

Permalink
fix(Anchor): comments Anchor's inner_ref usage (#1919)
Browse files Browse the repository at this point in the history
  • Loading branch information
langz authored and tujoworker committed Feb 23, 2023
1 parent 88790b9 commit f97a8b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/dnb-eufemia/src/elements/Anchor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export function AnchorInstance(localProps: AnchorAllProps) {
context?.Anchor
)

// deprecated
// deprecated: inner_ref is still needed to support Button's usage of Anchor
if (typeof allProps.inner_ref !== 'undefined') {
allProps.innerRef = allProps.inner_ref
delete allProps.inner_ref
Expand Down

0 comments on commit f97a8b9

Please sign in to comment.