Fix links

The href attribute was never actually being set.
This commit is contained in:
Robin Townsend 2022-05-17 18:27:50 -04:00
parent c33d97a2ed
commit 8cd45b64a1
2 changed files with 5 additions and 1 deletions

View file

@ -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();

View file

@ -209,6 +209,7 @@ export const Link = forwardRef(
if (href) {
externalLinkProps = {
href,
target: "_blank",
rel: "noreferrer noopener",
};