Skip to content

Commit 5f4dfc8

Browse files
committed
fix: missing call for .compute()
1 parent 4ae066d commit 5f4dfc8

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/dirty-trees-whisper.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"floating-runes": patch
3+
---
4+
5+
fix: missing call for .compute()

floating-runes/src/floating-ui.svelte.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ function floatingUI(options: FloatingRuneOptions = {}) {
245245
},
246246
compute() {
247247
for (const [float, floatOptions] of floatMap) {
248-
compute(float, options, floatOptions)
248+
compute(float, options, floatOptions)()
249249
}
250250
}
251251
}

0 commit comments

Comments
 (0)