Skip to content

Commit

Permalink
chore(website): Fixed ids for emulated phones
Browse files Browse the repository at this point in the history
  • Loading branch information
mlaursen committed Jan 30, 2022
1 parent 60dce54 commit 10984f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/documentation/src/components/Phone/DefaultAppBar.tsx
Expand Up @@ -10,12 +10,12 @@ import PhoneAppBar from "./PhoneAppBar";
import SearchAction from "./SearchAction";

export default function DefaultPhoneAppBar(): ReactElement {
const { title } = usePhoneContext();
const { title, id } = usePhoneContext();
return (
<PhoneAppBar>
<AppBar component="div" theme="clear">
<ClosePhone />
<AppBarTitle>{title}</AppBarTitle>
<AppBarTitle id={`${id}-title`}>{title}</AppBarTitle>
<SearchAction />
<OptionsAction />
</AppBar>
Expand Down

0 comments on commit 10984f5

Please sign in to comment.