Why user.getUsername() cannot work?

Looks, user.Getusername, should work.

But, when load page, it always show wrong record, instead of correct one, ‘Tommy’

image

it should be user.get("username"). same logic applies with the other columns too. user.get("columnname") and it will get the value

2 Likes

worked.

But, whey it cannot change corresponding to account of eth address?

image

user is passed from parent component.

Looks, when account changed.

The user passed from parent component did not change correspondingly.

image