chore(refactor): move and re-organise types folder

This commit is contained in:
Paul Makles
2022-06-10 14:11:38 +01:00
parent ebcbe4bd4b
commit e0ca1681bd
53 changed files with 78 additions and 102 deletions

View File

@@ -6,8 +6,6 @@ import { useApplicationState } from "../mobx/State";
import { AppContext } from "../context/revoltjs/RevoltClient";
import { Children } from "../types/Preact";
export default observer(({ children }: { children: Children }) => {
const config = useApplicationState().config;
const client = useMemo(() => config.createClient(), [config.get()]);