Skip to content

Commit 303f543

Browse files
committed
Update index.tsx
1 parent 6a920a6 commit 303f543

File tree

1 file changed

+1
-1
lines changed
  • packages/main/src/components/ObjectPageAnchorBar

1 file changed

+1
-1
lines changed

packages/main/src/components/ObjectPageAnchorBar/index.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ const ObjectPageAnchorBar = forwardRef<HTMLElement, ObjectPageAnchorBarPropTypes
8686
const showBothActions = shouldRenderHeaderPinnableButton;
8787

8888
const onPinHeader: ToggleButtonPropTypes['onClick'] = (e) => {
89-
const target = e.target as ToggleButtonDomRef;
89+
const target = e.target;
9090
setHeaderPinned(target.pressed);
9191
};
9292

0 commit comments

Comments
 (0)