forked from abner/for-legacy-web
chore(refactor): move and re-organise types folder
This commit is contained in:
@@ -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()]);
|
||||
|
||||
Reference in New Issue
Block a user