Commit 3f3f24c9 authored by Lyza Danger Gardner's avatar Lyza Danger Gardner Committed by Lyza Gardner

Use `Icon` in `UserMenu`

parent 78b5d3ca
import { SvgIcon } from '@hypothesis/frontend-shared'; import { Icon } from '@hypothesis/frontend-shared';
import { useState } from 'preact/hooks'; import { useState } from 'preact/hooks';
import { serviceConfig } from '../config/service-config'; import { serviceConfig } from '../config/service-config';
...@@ -85,7 +85,7 @@ function UserMenu({ auth, frameSync, onLogout, settings }) { ...@@ -85,7 +85,7 @@ function UserMenu({ auth, frameSync, onLogout, settings }) {
const menuLabel = ( const menuLabel = (
<span className="TopBar__menu-label"> <span className="TopBar__menu-label">
<SvgIcon name="profile" className="TopBar__menu-icon" /> <Icon name="profile" classes="TopBar__menu-icon" />
</span> </span>
); );
return ( return (
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment