Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get account name on web #639

Open
fnKode opened this issue Oct 1, 2024 · 0 comments
Open

Get account name on web #639

fnKode opened this issue Oct 1, 2024 · 0 comments
Labels
feature New functionality

Comments

@fnKode
Copy link
Contributor

fnKode commented Oct 1, 2024

Package / App

MAD Core

Description

The useAccountOrDemoAccount hook, that is available in the MAD Core package, returns an account object with name and username (email).

When I use this hook on iOS I get both values, but on web name is undefined.

I would like the name field to be available on both iOS and web.

Alternatives

No response

Other info

import { useAccountOrDemoAccount } from "@equinor/mad-core";

const account = useAccountOrDemoAccount();
@fnKode fnKode added the feature New functionality label Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New functionality
Projects
None yet
Development

No branches or pull requests

1 participant