Skip to content

Commit

Permalink
Update ObjectViewerSection.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
m-rgba committed Dec 30, 2024
1 parent da73779 commit 04b018f
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ const Title = styled.div`
display: flex;
align-items: center;
cursor: pointer;
&:hover {
opacity: 0.8;
}
Expand Down Expand Up @@ -203,7 +203,8 @@ const ObjectViewerSectionNonEmpty = ({
return (
<Box sx={{height: '100%', display: 'flex', flexDirection: 'column'}}>
<TitleRow>
<Title onClick={() => setMode(mode === 'hidden' ? 'collapsed' : 'hidden')}>
<Title
onClick={() => setMode(mode === 'hidden' ? 'collapsed' : 'hidden')}>
<Icon
name={mode === 'hidden' ? 'chevron-next' : 'chevron-down'}
width={16}
Expand Down

0 comments on commit 04b018f

Please sign in to comment.