useUser is a helper hook that will returns the signed in user
import { Plugin } from '@root' const MyCustomComponent = () => { const user = Plugin.usUser() return ( <div> <p>username: {user.name}</p> </div> ) } export default MyCustomComponent
Last updated 4 years ago