mirror of
https://github.com/oceanprotocol/market.git
synced 2024-12-02 05:57:29 +01:00
add todo
This commit is contained in:
parent
afe9127db9
commit
c28cdd318f
@ -26,6 +26,11 @@ export default function AssetActions({
|
||||
}): ReactElement {
|
||||
const { accountId, balance } = useWeb3()
|
||||
const { isAssetNetwork } = useAsset()
|
||||
|
||||
// TODO: using this for the publish preview works fine, but produces a console warning
|
||||
// on asset details page as there is no formik context there:
|
||||
// Warning: Formik context is undefined, please verify you are calling useFormikContext()
|
||||
// as child of a <Formik> component.
|
||||
const formikState = useFormikContext<FormPublishData>()
|
||||
|
||||
const [isBalanceSufficient, setIsBalanceSufficient] = useState<boolean>()
|
||||
|
Loading…
Reference in New Issue
Block a user