Fix eslint warnings
This commit is contained in:
parent
fba72e723f
commit
7b10670a88
6 changed files with 19 additions and 10 deletions
|
|
@ -19,7 +19,7 @@ const { floatingStyles } = useFloating(reference, floating, {
|
|||
offset(4),
|
||||
size({
|
||||
apply({ availableHeight, elements }) {
|
||||
elements.floating.style.maxHeight = `${Math.max(100, availableHeight)}px`;
|
||||
elements.floating.style.maxHeight = `${Math.max(100, availableHeight).toFixed()}px`;
|
||||
},
|
||||
}),
|
||||
],
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue