Skip to content

Commit

Permalink
Merge branch 'develop' into fix/fulfilled-qty
Browse files Browse the repository at this point in the history
  • Loading branch information
riqwan authored Aug 21, 2024
2 parents 684fe66 + 2f01669 commit 80a7a44
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,12 +51,14 @@ const TagsOperationCodeSectionResponsesSample = ({
</select>
)}
{selectedExample && (
<CodeBlock
source={selectedExample.content}
lang={getLanguageFromMedia(Object.keys(response.content)[0])}
collapsed={true}
className="mt-2 mb-0"
/>
<div className="mt-2">
<CodeBlock
source={selectedExample.content}
lang={getLanguageFromMedia(Object.keys(response.content)[0])}
collapsed={true}
className="mb-0"
/>
</div>
)}
{!selectedExample && <>Empty Response</>}
</>
Expand Down
1 change: 1 addition & 0 deletions www/apps/api-reference/components/Tags/Section/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,7 @@ const TagSection = ({ tag }: TagSectionProps) => {
}}
pathName={pathname}
reportLink={formatReportLink(area, tag.name)}
vertical
/>
</SectionContainer>
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export const SidebarItemCategory = ({
if (isActive && !open) {
setOpen(true)
}
}, [isChildrenActive])
}, [isChildrenActive, item.children])

useEffect(() => {
if (!persistState) {
Expand Down
2 changes: 1 addition & 1 deletion www/packages/docs-ui/src/providers/Sidebar/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -530,7 +530,7 @@ export const SidebarProvider = ({
activePath,
setActivePath,
isLinkActive: isLinkActive,
isChildrenActive: isChildrenActive,
isChildrenActive,
findItemInSection,
mobileSidebarOpen,
setMobileSidebarOpen,
Expand Down

0 comments on commit 80a7a44

Please sign in to comment.