fix: mention tag

This commit is contained in:
DIYgod 2023-04-15 05:30:10 +01:00
parent 0e4ae0bdba
commit 7cc9e0754f
No known key found for this signature in database
1 changed files with 4 additions and 4 deletions

View File

@ -42,11 +42,11 @@ export const CharacterFloatCard: React.FC<{
return (
<>
<div className="inline" ref={refs.setReference} {...getReferenceProps()}>
<span className="inline" ref={refs.setReference} {...getReferenceProps()}>
{children}
</div>
</span>
{isMounted && (
<div
<span
ref={refs.setFloating}
className={
"z-10 block w-80" + (open || buttonLoading ? "" : " hidden")
@ -64,7 +64,7 @@ export const CharacterFloatCard: React.FC<{
open={open}
setButtonLoading={setButtonLoading}
/>
</div>
</span>
)}
</>
)