# useMakeOrder

useMakeOrder composable is responsible for making an order.

# API

  • make - method or making an order.
  • loading - indicates whether order process is in progress.
  • error - the error object that contains the error details if the make method fails.