Skip to content

Commit

Permalink
fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kartik-gupta-ij committed Nov 11, 2024
1 parent fa9d742 commit 53f8454
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -168,13 +168,11 @@ const CommandsTable = ({ commands, handleInsertCommand, searchTerms }) => {
const { enqueueSnackbar, closeSnackbar } = useSnackbar();
const successSnackbarOptions = getSnackbarOptions('success', closeSnackbar, 1000);


useEffect(() => {
setActive(null);
listRefs.current = listRefs.current.slice(0, commands.length);
}, [commands, commands.length]);


const handleClick = (command) => {
const commandText = `${command.method} ${command.command.substring(1)}${
command.hasRequestBody
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ export const resolveRequiredBodyParams = function (openapi, requestBodyContent)
} else {
return requestBodyContent[contentType].schema.required;
}
};
};

0 comments on commit 53f8454

Please sign in to comment.