Skip to content

Commit

Permalink
Migrating import syntax from es5 to es6
Browse files Browse the repository at this point in the history
Signed-off-by: trishnakalita660 <trishnakalita660@gmail.com>
  • Loading branch information
trishnakalita660 committed Oct 23, 2022
1 parent 407324c commit 74aded9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion ui/src/app/ui-banner/ui-banner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,13 @@ export const Banner = (props: React.Props<any>) => {
<React.Fragment>
<div className={combinedBannerClassName} style={{visibility: show ? 'visible' : 'hidden', height: heightOfBanner}}>
<div className='ui-banner-text' style={{maxHeight: permanent ? '25px' : '50px'}}>
error
{url !== undefined ? (
<a href={url} target='_blank' rel='noopener noreferrer'>
{content}
</a>
) : (
<React.Fragment>{content}</React.Fragment>
)}
</div>
{!permanent ? (
<>
Expand Down

0 comments on commit 74aded9

Please sign in to comment.