Commit a97f761d authored by 666's avatar 666

feat: update

parent 07759a09
...@@ -27,7 +27,7 @@ const Members = ({ tabBarHeight }: { tabBarHeight: number }) => { ...@@ -27,7 +27,7 @@ const Members = ({ tabBarHeight }: { tabBarHeight: number }) => {
.boundingClientRect() .boundingClientRect()
.exec((res) => { .exec((res) => {
if (res[0]) { if (res[0]) {
setHeight(res[0][0].height + res[0][1].height * 1.2) setHeight(res[0]?.[0].height + res[0]?.[1].height * 1.2)
} }
}) })
}, []) }, [])
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment