update comment + fix tests

This commit is contained in:
Timo K
2026-06-17 18:48:26 +02:00
parent 19fd7f42b1
commit 049c432fc3
2 changed files with 2 additions and 12 deletions

View File

@@ -133,8 +133,8 @@ export function useAppBarTitle(title: string): void {
}
/**
* React hook which sets the title to be shown in the app bar, if present. It is
* an error to call this hook from multiple sites in the same component tree.
* React hook which sets the primary button icon kind. Can only be "minimise" or "back"
* It is an error to call this hook from multiple sites in the same component tree.
*/
export function useAppBarPrimaryButtonIconKind(
icon: "back" | "minimise",

View File

@@ -39,11 +39,6 @@ exports[`LobbyView > renders with AppBar android 1`] = `
</div>
</button>
</div>
<h1
class="_typography_6v6n8_153 _font-body-lg-medium_6v6n8_79"
>
Test Room
</h1>
<div
class="nav rightNav"
/>
@@ -282,11 +277,6 @@ exports[`LobbyView > renders with AppBar ios 1`] = `
</div>
</button>
</div>
<h1
class="_typography_6v6n8_153 _font-body-lg-semibold_6v6n8_74"
>
Test Room
</h1>
<div
class="nav rightNav"
/>