Skip to content

Commit

Permalink
Use standard method for accessing props
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremywiebe committed Oct 25, 2024
1 parent 224e345 commit 35bcb77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/perseus/src/components/tooltip.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ const Triangle = (props: TriangleProps) => {
width: 0,
position: "absolute",
left: props.left,
top: props["top"],
top: props.top,
borderLeft: borderLeft,
borderRight: borderRight,
borderTop: borderTop,
Expand Down

0 comments on commit 35bcb77

Please sign in to comment.