Update useSetPrimaryBasename.ts (#1433)

This commit is contained in:
maradini77
2024-12-21 02:03:15 +01:00
committed by GitHub
parent 043850dc66
commit 03b3fc596b

View File

@@ -15,10 +15,10 @@ import { useUsernameProfile } from 'apps/web/src/components/Basenames/UsernamePr
/*
A hook to set a name as primary for resolution.
Responsabilities:
Responsibilities:
- Get and validate the primary username against the new username
- Write the new name to the contract & Wait for the transaction to be processed
- Refetch basename on successfull request
- Refetch basename on successful request
*/
type UseSetPrimaryBasenameProps = {