Refactored exports.

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

No files matched your search

+3 -1
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;