mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-24 05:05:39 +00:00
chore: reformat
This commit is contained in:
@@ -273,7 +273,7 @@ const WSBody = ({ item, collection, handleRun }) => {
|
||||
ref={messagesContainerRef}
|
||||
id="ws-messages-container"
|
||||
className={`flex-1 ${body.ws.length === 1 || !canClientSendMultipleMessages ? 'h-full' : 'overflow-y-auto'} ${canClientSendMultipleMessages && 'pb-16'
|
||||
}`}
|
||||
}`}
|
||||
>
|
||||
{body.ws
|
||||
.filter((_, index) => canClientSendMultipleMessages || index === 0)
|
||||
|
||||
@@ -214,4 +214,4 @@ export const extractVariableInfo = (str, variables) => {
|
||||
}
|
||||
|
||||
return { variableName, variableValue };
|
||||
};
|
||||
};
|
||||
|
||||
@@ -102,7 +102,6 @@ const jsonToBru = (json) => {
|
||||
bru += `ws {
|
||||
url: ${ws.url}`;
|
||||
|
||||
|
||||
if (ws.body && ws.body.length) {
|
||||
bru += `
|
||||
body: ${ws.body}`;
|
||||
|
||||
Reference in New Issue
Block a user