diff --git a/src/components/Asset/AssetActions/index.tsx b/src/components/Asset/AssetActions/index.tsx index 6dd4bdeb2..f855fc0e3 100644 --- a/src/components/Asset/AssetActions/index.tsx +++ b/src/components/Asset/AssetActions/index.tsx @@ -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 component. const formikState = useFormikContext() const [isBalanceSufficient, setIsBalanceSufficient] = useState()