From ebd92e033711cb6f91b1ef06ecb66d21a1b8b8e8 Mon Sep 17 00:00:00 2001 From: Adhiraj Singh Date: Thu, 18 Aug 2022 15:51:49 +0530 Subject: [PATCH] fix: correctly fire product edit --- src/Socket/business.ts | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/src/Socket/business.ts b/src/Socket/business.ts index 993fb42..114d4f3 100644 --- a/src/Socket/business.ts +++ b/src/Socket/business.ts @@ -159,7 +159,19 @@ export const makeBusinessSocket = (config: SocketConfig) => { { tag: 'product_catalog_edit', attrs: { v: '1' }, - content: [ editNode ] + content: [ + editNode, + { + tag: 'width', + attrs: { }, + content: '100' + }, + { + tag: 'height', + attrs: { }, + content: '100' + } + ] } ] })