Skip to content
This repository has been archived by the owner on May 19, 2020. It is now read-only.

Commit

Permalink
fix(ErrorLogger): Add classNames for for both states of ArrowDiv - i320
Browse files Browse the repository at this point in the history
Signed-off-by: Lenvin Gonsalves <[email protected]>
  • Loading branch information
98lenvi committed Apr 18, 2020
1 parent 414f5d4 commit 69ad521
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ErrorLogger/Error.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const ErrorComponent = (props) => {
return (
<SC.ErrorComponent className={'errorComponent'}>

<SC.ArrowDiv {...errorArrowProps} className={'errorArrowDiv'}/>
<SC.ArrowDiv {...errorArrowProps} className={specErrorVisible?'errorArrowDivExpanded':'errorArrowDivCollapsed'}/>
<SC.ErrorFile onClick={() => errorNav(error)} className={'errorFile'}>
{ACT.typeSwitchCase(error || {})}
</SC.ErrorFile>
Expand Down
4 changes: 3 additions & 1 deletion src/ErrorLogger/customStyles.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ export const CustomStylesWrapper = styled.div`
};
.errorFile{
};
.errorArrowDiv{
.errorArrowDivExpanded{
};
.errorArrowDivCollapsed{
};
.errorType{
};
Expand Down

0 comments on commit 69ad521

Please sign in to comment.