codepenDependent Blocks

Some blocks require other blocks to work properly. Make sure to add their dependencies before using them.

Important

If you don't follow the instructions below, you may run into issues with the blocks not working properly.

Diagram of Dependencies#

Some blocks require other blocks to work properly. Make sure to add their dependencies before using them.

Show DiagramClick to load the interactive dependencies diagram

Dependencies by Block Group#

These listing/detail blocks depend on several shared modules and providers:

  • wallet-kit

  • providers

  • handle-errors

  • helpers

  • tanstack

  • single-releaseormulti-releaseorsingle-multi-release// Depending on your needs

Providers to includeEnsure you include all the providers. These blocks need all of them

Single Release & Multi Release components#

All single-release and multi-release actions (Initialize Escrowarrow-up-right, Fund Escrowarrow-up-right, Change Milestone Statusarrow-up-right, Approve Milestonearrow-up-right, Releasearrow-up-right, Disputearrow-up-right, Resolvearrow-up-right, Update Escrowarrow-up-right) require:

  • wallet-kit

  • providers

  • handle-errors

  • tanstack

  • helpers

Provider Wrapping (order matters)#

Wrap your app with the following providers, in this order. IncludeEscrowDialogsProviderand EscrowAmountProviderwhen a page uses dialogs or amount context.

app/layout.tsx

Last updated

Was this helpful?