From c083acc4ac453d984aeea2e2e2368ea254ac1aa0 Mon Sep 17 00:00:00 2001 From: gatzjames Date: Tue, 4 Jun 2024 12:54:35 +0200 Subject: [PATCH] clean up logs --- .../src/ui/components/key-value-editor/key-value-editor.tsx | 5 ----- 1 file changed, 5 deletions(-) diff --git a/packages/insomnia/src/ui/components/key-value-editor/key-value-editor.tsx b/packages/insomnia/src/ui/components/key-value-editor/key-value-editor.tsx index 30345b21f5b1..b548346af7bc 100644 --- a/packages/insomnia/src/ui/components/key-value-editor/key-value-editor.tsx +++ b/packages/insomnia/src/ui/components/key-value-editor/key-value-editor.tsx @@ -170,8 +170,6 @@ export const KeyValueEditor: FC = ({ getKey: item => item.id, }); - console.log({ pairsList }); - const items = pairsList.items.length > 0 ? pairsList.items : [{ id: generateId('pair'), name: '', value: '', description: '', disabled: false }]; const readOnlyPairsList = useListData({ @@ -183,7 +181,6 @@ export const KeyValueEditor: FC = ({ }); function upsertPair(pair: typeof pairsList.items[0]) { - console.log({ pair }); if (pairsList.getItem(pair.id)) { pairsList.update(pair.id, pair); onChange(pairsList.items.map(item => (item.id === pair.id ? pair : item))); @@ -295,8 +292,6 @@ export const KeyValueEditor: FC = ({ const isMultiline = pair.type === 'text' && pair.multiline; const bytes = isMultiline ? Buffer.from(pair.value, 'utf8').length : 0; - console.log({ pair, isFile, isMultiline, bytes }); - let valueEditor = (