Profile
Display and manage the connected user's profile using the Blux SDK.
Blux provides a built-in profile modal that displays account information for the connected user. Open it by calling profile() from the useBlux hook.
Import
import { useBlux } from "@bluxcc/react";Usage
import { useBlux } from "@bluxcc/react";
function ProfileButton() {
const { profile, isAuthenticated } = useBlux();
return (
<button disabled={!isAuthenticated} onClick={profile}>
View Profile
</button>
);
}Screenshots
