mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-10 02:54:15 +00:00
use floating stack
This commit is contained in:
parent
bf69422cbd
commit
b2eeac35ab
@ -6,7 +6,17 @@ import { Sidebar, Drawer, Sidedrawer, Modal } from "components/Layout"
|
||||
|
||||
import BackgroundDecorator from "components/BackgroundDecorator"
|
||||
|
||||
import { createWithDom as FloatingStack } from "../components/floatingStack"
|
||||
|
||||
export default (props) => {
|
||||
React.useEffect(() => {
|
||||
const floatingStack = FloatingStack()
|
||||
|
||||
return () => {
|
||||
floatingStack.remove()
|
||||
}
|
||||
}, [])
|
||||
|
||||
return <>
|
||||
<BackgroundDecorator />
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user