chore: delete intermediate

This commit is contained in:
Paul Makles
2022-07-05 21:13:42 +01:00
parent 59c31732b5
commit 11d0631351
35 changed files with 129 additions and 1104 deletions

View File

@@ -12,7 +12,8 @@ import { isTouchscreenDevice } from "../../lib/isTouchscreenDevice";
import { useApplicationState } from "../../mobx/State";
import { Overrides } from "../../context/Theme";
import { useIntermediate } from "../../context/intermediate/Intermediate";
import { modalController } from "../../controllers/modals/ModalController";
const Container = styled.div`
flex-grow: 1;
@@ -85,7 +86,6 @@ const REMOTE = "https://rvlt.gg";
export default function Discover() {
const state = useApplicationState();
const { openLink } = useIntermediate();
const history = useHistory();
const { pathname, search } = useLocation();
@@ -137,7 +137,7 @@ export default function Discover() {
break;
}
case "navigate": {
openLink(data.url);
modalController.openLink(data.url);
break;
}
case "applyTheme": {