aa42f8763a
* Add instantiate page for minter * Add query page to minter contract * Add execute page for minter contract * Add contracts index page * Refaactor sg721 helper files * Add instantiate page * Add query page for sg721 * Add execute page for sg721 contract * Copy page templates for whitelist contracts * Add instantitate for whitelist contract * Add query page to whitelist contract * Add execute page for whitelist contract
8 lines
294 B
TypeScript
8 lines
294 B
TypeScript
import type { ExecuteListItem } from 'contracts/sg721/messages/execute'
|
|
import { useState } from 'react'
|
|
|
|
export const useExecuteComboboxState = () => {
|
|
const [value, setValue] = useState<ExecuteListItem | null>(null)
|
|
return { value, onChange: (item: ExecuteListItem) => setValue(item) }
|
|
}
|