feat: port input modals to new system

This commit is contained in:
Paul Makles
2022-07-05 17:53:41 +01:00
parent 56955a5934
commit 32474a5c6f
19 changed files with 275 additions and 127 deletions

View File

@@ -29,6 +29,7 @@ import wideSVG from "/assets/wide.svg";
import { PageHeader } from "../../components/ui/Header";
import { useClient } from "../../controllers/client/ClientController";
import { modalController } from "../../controllers/modals/ModalController";
const Overlay = styled.div`
display: grid;
@@ -98,8 +99,7 @@ export default observer(() => {
<div className={styles.actions}>
<a
onClick={() =>
openScreen({
id: "special_input",
modalController.push({
type: "create_group",
})
}>