diff --git a/src/pages/home/Home.tsx b/src/pages/home/Home.tsx index 8a57658a..ef66bca9 100644 --- a/src/pages/home/Home.tsx +++ b/src/pages/home/Home.tsx @@ -21,9 +21,9 @@ import { isTouchscreenDevice } from "../../lib/isTouchscreenDevice"; import { useApplicationState } from "../../mobx/State"; +import { useIntermediate } from "../../context/intermediate/Intermediate"; import { AppContext } from "../../context/revoltjs/RevoltClient"; -import Tooltip from "../../components/common/Tooltip"; import { PageHeader } from "../../components/ui/Header"; import CategoryButton from "../../components/ui/fluent/CategoryButton"; import wideSVG from "/assets/wide.svg"; @@ -42,6 +42,7 @@ const Overlay = styled.div` `; export default observer(() => { + const { openScreen } = useIntermediate(); const client = useContext(AppContext); const state = useApplicationState(); @@ -93,7 +94,13 @@ export default observer(() => {
- + + openScreen({ + id: "special_input", + type: "create_group", + }) + }> } @@ -102,7 +109,7 @@ export default observer(() => { }> - +