[SDK] Validate and brand the persisted account did (#11387)
Co-authored-by: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
@@ -124,7 +124,7 @@ function GermSelfButton({did}: {did: string}) {
|
||||
const {mutate: deleteDeclaration, isPending} = useMutation({
|
||||
mutationFn: async () => {
|
||||
const previousRecord = await pdsClient
|
||||
// the profile view is still legacy-typed, so its did is unbranded
|
||||
// the component takes the did as a plain string prop
|
||||
.get(com.germnetwork.declaration, {
|
||||
repo: did as DidString,
|
||||
rkey: 'self',
|
||||
|
||||
Reference in New Issue
Block a user