Refactored exports.

This commit is contained in:
Mike Cao 2023-04-21 08:00:42 -07:00
parent 1baf4d5571
commit 8bddc666b4
110 changed files with 317 additions and 124 deletions

View file

@ -7,7 +7,7 @@ import useConfig from 'hooks/useConfig';
import styles from './ProfileButton.module.css';
import useLocale from 'hooks/useLocale';
export default function ProfileButton() {
export function ProfileButton() {
const { formatMessage, labels } = useMessages();
const { user } = useUser();
const { cloudMode } = useConfig();
@ -57,3 +57,5 @@ export default function ProfileButton() {
</PopupTrigger>
);
}
export default ProfileButton;