Skip to content

Commit c286d5f

Browse files
committed
chore: remove useless updatePosition()
1 parent fe44de5 commit c286d5f

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/components/FloatingToolbar/index.jsx

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -87,9 +87,6 @@ function FloatingToolbar(props) {
8787
props.container.className = 'chatgptbox-toolbar-container-not-queryable'
8888
setCloseable(true)
8989
}}
90-
onUpdate={() => {
91-
updatePosition()
92-
}}
9390
/>
9491
</div>
9592
</div>

0 commit comments

Comments
 (0)