import { Box, ChevronRightIcon, Text, Button } from "@saleor/macaw-ui/next"; import { AppSection } from "../../ui/AppSection"; import { useRouter } from "next/router"; import { ConnectedAddressForm } from "../ui/address-form"; import { trpcClient } from "../../trpc/trpc-client"; import { useDashboardNotification } from "@saleor/apps-shared"; export const ChannelConfigView = () => { const { push, query: { channel }, } = useRouter(); const { mutateAsync } = trpcClient.appConfiguration.removeChannelOverride.useMutation(); const { notifySuccess } = useDashboardNotification(); if (!channel) { return null; } return ( Configuration Edit channel {channel} } sideContent={ Set custom billing address for {channel} channel. } /> ); };