mirror of
https://github.com/placeholder-soft/web.git
synced 2026-01-12 17:02:57 +08:00
Update useSetPrimaryBasename.ts (#1433)
This commit is contained in:
@@ -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 = {
|
||||
|
||||
Reference in New Issue
Block a user