Skip to content

Commit 87958a4

Browse files
authored
Merge pull request #969 from tuanpt-0634/fix_button_show_optional_parameters
Fix change type of Show optional parameters button
2 parents 6a22bb7 + bab3b6b commit 87958a4

File tree

1 file changed

+1
-0
lines changed
  • packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/ParamOptions

1 file changed

+1
-0
lines changed

packages/docusaurus-theme-openapi-docs/src/theme/ApiExplorer/ParamOptions/index.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@ function ParamOptions() {
8080
{optionalParams.length > 0 && (
8181
<>
8282
<button
83+
type="button"
8384
className="openapi-explorer__show-more-btn"
8485
onClick={() => setShowOptional((prev) => !prev)}
8586
>

0 commit comments

Comments
 (0)