import { Box, Text } from "@saleor/macaw-ui/next"; import { DefaultShopAddress } from "../../shop-info/ui/default-shop-address"; import { AppSection } from "../../ui/AppSection"; import { PerChannelConfigList } from "../../channels/ui/per-channel-config-list"; import { actions, useAppBridge } from "@saleor/app-sdk/app-bridge"; export const AppConfigView = () => { const { appBridge } = useAppBridge(); return ( Configuration The Invoices App will generate invoices for each order, for which{" "} INVOICE_REQUESTED event will be triggered By default it will use{" "} { appBridge?.dispatch( actions.Redirect({ to: "/site-settings", }) ); }} > site settings {" "} address, but each channel can be configured separately } sideContent={ Configure custom billing address for each channel. If not set, default shop address will be used } /> ); };