Cart swap: {cartId}
{data?.swap?.order_id} - {data?.swap?.cart_id}
)
}
const meta: Meta = {
title: "Swaps",
argTypes: {
showHookData: {
name: "Show hook data",
description:
"Whether or not story should display JSON of data returned from hook",
control: {
type: "boolean",
},
defaultValue: true,
},
},
parameters: {
controls: { expanded: true },
},
}
export default meta
export const GetOne = (args: { showHookData: boolean; cartId: string }) => (