Skip to content

Commit

Permalink
Fix change type of Show optional parameters button
Browse files Browse the repository at this point in the history
To avoid submitting form test api
  • Loading branch information
tuanpt-0634 committed Sep 17, 2024
1 parent 6a22bb7 commit bab3b6b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@ function ParamOptions() {
{optionalParams.length > 0 && (
<>
<button
type="button"
className="openapi-explorer__show-more-btn"
onClick={() => setShowOptional((prev) => !prev)}
>
Expand Down

0 comments on commit bab3b6b

Please sign in to comment.