commit
183eea9f24
2 changed files with 5 additions and 1 deletions
|
@ -19,7 +19,10 @@ import { useState, useEffect, useCallback, useRef } from "react";
|
||||||
import { initClient, defaultHomeserver } from "../matrix-utils";
|
import { initClient, defaultHomeserver } from "../matrix-utils";
|
||||||
|
|
||||||
export function useInteractiveRegistration() {
|
export function useInteractiveRegistration() {
|
||||||
const [state, setState] = useState({ privacyPolicyUrl: "#", loading: false });
|
const [state, setState] = useState({
|
||||||
|
privacyPolicyUrl: null,
|
||||||
|
loading: false,
|
||||||
|
});
|
||||||
|
|
||||||
const authClientRef = useRef();
|
const authClientRef = useRef();
|
||||||
|
|
||||||
|
|
|
@ -209,6 +209,7 @@ export const Link = forwardRef(
|
||||||
|
|
||||||
if (href) {
|
if (href) {
|
||||||
externalLinkProps = {
|
externalLinkProps = {
|
||||||
|
href,
|
||||||
target: "_blank",
|
target: "_blank",
|
||||||
rel: "noreferrer noopener",
|
rel: "noreferrer noopener",
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue