diff --git a/rust/gui-client/src-frontend/components/AdvancedSettingsPage.tsx b/rust/gui-client/src-frontend/components/AdvancedSettingsPage.tsx index 730e54e56..0b398aca1 100644 --- a/rust/gui-client/src-frontend/components/AdvancedSettingsPage.tsx +++ b/rust/gui-client/src-frontend/components/AdvancedSettingsPage.tsx @@ -1,4 +1,4 @@ -import React, { useEffect, useState } from "react"; +import React, { useEffect, useId, useState } from "react"; import { Button, Label } from "flowbite-react"; import { AdvancedSettingsViewModel } from "../generated/AdvancedSettingsViewModel"; import { ManagedTextInput } from "./ManagedInput"; @@ -39,6 +39,10 @@ export default function AdvancedSettingsPage({ ); }, [settings]); + const authBaseUrlId = useId(); + const apiUrlId = useId(); + const logFilterInput = useId(); + return (
Log directory size:
-{`${files} files, ${megabytes} MB`}
+{`${files} files, ${megabytes} MB`}
You can sign in by clicking the Firezone icon in the taskbar or by clicking "Sign in" below.
- +
Firezone will continue running after this window is closed.
@@ -80,23 +78,17 @@ interface SignedInProps {
function SignedIn({ actorName, accountSlug, signOut }: SignedInProps) {
return (
-
You are currently signed into
-
- {accountSlug}
-
+ {accountSlug}
as
-
- {actorName}
-
+ {actorName}
.
Click the Firezone icon in the taskbar to see the list of Resources.
Firezone will continue running in the taskbar after this window is closed. @@ -108,7 +100,7 @@ function SignedIn({ actorName, accountSlug, signOut }: SignedInProps) { function Loading() { return ( -