Skip to content

Commit 10984f5

Browse files
committed
chore(website): Fixed ids for emulated phones
1 parent 60dce54 commit 10984f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/documentation/src/components/Phone/DefaultAppBar.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,12 @@ import PhoneAppBar from "./PhoneAppBar";
1010
import SearchAction from "./SearchAction";
1111

1212
export default function DefaultPhoneAppBar(): ReactElement {
13-
const { title } = usePhoneContext();
13+
const { title, id } = usePhoneContext();
1414
return (
1515
<PhoneAppBar>
1616
<AppBar component="div" theme="clear">
1717
<ClosePhone />
18-
<AppBarTitle>{title}</AppBarTitle>
18+
<AppBarTitle id={`${id}-title`}>{title}</AppBarTitle>
1919
<SearchAction />
2020
<OptionsAction />
2121
</AppBar>

0 commit comments

Comments
 (0)