@@ -19,7 +19,10 @@ import { useState, useEffect, useCallback, useRef } from "react";
|
||||
import { initClient, defaultHomeserver } from "../matrix-utils";
|
||||
|
||||
export function useInteractiveRegistration() {
|
||||
const [state, setState] = useState({ privacyPolicyUrl: "#", loading: false });
|
||||
const [state, setState] = useState({
|
||||
privacyPolicyUrl: null,
|
||||
loading: false,
|
||||
});
|
||||
|
||||
const authClientRef = useRef();
|
||||
|
||||
|
||||
@@ -209,6 +209,7 @@ export const Link = forwardRef(
|
||||
|
||||
if (href) {
|
||||
externalLinkProps = {
|
||||
href,
|
||||
target: "_blank",
|
||||
rel: "noreferrer noopener",
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user