diff options
author | Sebastian <sebasjm@gmail.com> | 2022-06-08 15:18:41 -0300 |
---|---|---|
committer | Sebastian <sebasjm@gmail.com> | 2022-06-08 15:19:26 -0300 |
commit | b419db505b8cd5e7aa92043696f42a0d710d9226 (patch) | |
tree | c18eb877999de68c5be6821710a1c0ba7ace4a1b /packages/anastasis-webui/src/pages | |
parent | b00635c1404ed3cc6ed36940bd54ff70cb837f0f (diff) | |
download | wallet-core-b419db505b8cd5e7aa92043696f42a0d710d9226.tar.xz |
ui testing
Diffstat (limited to 'packages/anastasis-webui/src/pages')
3 files changed, 3 insertions, 16 deletions
diff --git a/packages/anastasis-webui/src/pages/home/AddingProviderScreen.tsx b/packages/anastasis-webui/src/pages/home/AddingProviderScreen.tsx index feeac274d..d4675f9da 100644 --- a/packages/anastasis-webui/src/pages/home/AddingProviderScreen.tsx +++ b/packages/anastasis-webui/src/pages/home/AddingProviderScreen.tsx @@ -223,7 +223,7 @@ function TableRow({ onDelete: (s: string) => void; url: string; info: AuthenticationProviderStatusOk; -}) { +}): VNode { const [status, setStatus] = useState("checking"); useEffect(function () { testProvider(url.endsWith("/") ? url.substring(0, url.length - 1) : url) diff --git a/packages/anastasis-webui/src/pages/home/ContinentSelectionScreen.tsx b/packages/anastasis-webui/src/pages/home/ContinentSelectionScreen.tsx index 43d865b48..534f9136d 100644 --- a/packages/anastasis-webui/src/pages/home/ContinentSelectionScreen.tsx +++ b/packages/anastasis-webui/src/pages/home/ContinentSelectionScreen.tsx @@ -125,13 +125,6 @@ export function ContinentSelectionScreen(): VNode { </div> </div> </div> - - {/* {theCountry && <div class="field"> - <label class="label">Available currencies:</label> - <div class="control"> - <input class="input is-small" type="text" readonly value={theCountry.currency} /> - </div> - </div>} */} </div> <div class="column is-two-third"> <p> @@ -151,18 +144,11 @@ export function ContinentSelectionScreen(): VNode { }} > <p> - If you just want to try out Anastasis, we recomment that you + If you just want to try out Anastasis, we recommend that you choose <b>Testcontinent</b> with <b>Demoland</b>. For this special country, you will be asked for a simple number and not real, personal identifiable information. </p> - {/* - <p> - Because of the diversity of personally identifying information in - different countries and cultures, we do not support all countries - yet. If you want to improve the supported countries,{" "} - <a href="mailto:contact@anastasis.lu">contact us</a>. - </p> */} </div> </div> </div> diff --git a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx index f9b292d94..0285c87e1 100644 --- a/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx +++ b/packages/anastasis-webui/src/pages/home/authMethod/AuthMethodTotpSetup.tsx @@ -36,6 +36,7 @@ export function AuthMethodTotpSetup({ const [test, setTest] = useState(""); const secretKey = useMemo(() => { const array = new Uint8Array(32); + if (typeof window === "undefined") return array; return window.crypto.getRandomValues(array); }, []); |