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 { serviceConfig } from '../config/service-config';
......@@ -85,7 +85,7 @@ function UserMenu({ auth, frameSync, onLogout, settings }) {
const menuLabel = (
<span className="TopBar__menu-label">
<SvgIcon name="profile" className="TopBar__menu-icon" />
<Icon name="profile" classes="TopBar__menu-icon" />
</span>
);
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