forked from abner/for-legacy-web
chore(refactor): rename context/modals to controllers/modals
This commit is contained in:
@@ -6,13 +6,14 @@ import { useContext, useEffect } from "preact/hooks";
|
||||
|
||||
import { Header } from "@revoltchat/ui";
|
||||
|
||||
import { modalController } from "../context/modals";
|
||||
import {
|
||||
AppContext,
|
||||
ClientStatus,
|
||||
StatusContext,
|
||||
} from "../context/revoltjs/RevoltClient";
|
||||
|
||||
import { modalController } from "../controllers/modals/ModalController";
|
||||
|
||||
export default function Open() {
|
||||
const history = useHistory();
|
||||
const client = useContext(AppContext);
|
||||
|
||||
Reference in New Issue
Block a user