diff --git a/src/channels/views/ChannelCreate/ChannelCreate.tsx b/src/channels/views/ChannelCreate/ChannelCreate.tsx index e250ffe73..f351a3fa6 100644 --- a/src/channels/views/ChannelCreate/ChannelCreate.tsx +++ b/src/channels/views/ChannelCreate/ChannelCreate.tsx @@ -63,12 +63,16 @@ export const ChannelCreateView = ({}) => { warehousesToDisplay, currencyCode, allocationStrategy, - ...rest + name, + slug, + defaultCountry, }: FormData) => { const createChannelMutation = createChannel({ variables: { input: { - ...rest, + defaultCountry, + name, + slug, currencyCode: currencyCode.toUpperCase(), addShippingZones: shippingZonesIdsToAdd, addWarehouses: warehousesIdsToAdd,