mirror of
https://github.com/stoatchat/for-legacy-web.git
synced 2026-03-07 01:15:28 +00:00
patch: temporarily fix issue with public invites
This commit is contained in:
@@ -56,7 +56,8 @@ export default observer(
|
||||
keyof Props | "children" | "as"
|
||||
>,
|
||||
) => {
|
||||
const client = useApplicationState().client!;
|
||||
// ! TODO: this is temporary code
|
||||
const client = useClient() ?? useApplicationState().client!;
|
||||
|
||||
const {
|
||||
target,
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
import { ArrowBack } from "@styled-icons/boxicons-regular";
|
||||
import { autorun } from "mobx";
|
||||
import { Redirect, useHistory, useParams } from "react-router-dom";
|
||||
import { API } from "revolt.js";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user