fix: fix popover position, closes #441 (#442)

Co-authored-by: Innei <tukon479@gmail.com>
This commit is contained in:
Grogu
2023-04-27 19:46:12 +01:00
committed by GitHub
co-authored by Innei
parent b56a175dcd
commit c387a631cd
5 changed files with 172 additions and 85 deletions
+10
View File
@@ -0,0 +1,10 @@
import { useEffect, useState } from "react"
export const useIsClient = () => {
const [isClient, setIsClient] = useState(false)
useEffect(() => {
setIsClient(true)
}, [])
return isClient
}