Gun-Vue docs v0.21.4 • Docs
Gun-Vue docs v0.21.4 / User / updateProfile
Function: updateProfile()
updateProfile(
field
,data
):void
Update a profile field
Parameters
• field: string
Field name
• data: string
Field value
Returns
void
Example
ts
import { updateProfile } from '@gun-vue/composables'
updateProfile('city', 'Bangkok')