Skip to content

Commit

Permalink
fix indentation issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Tharanidk committed Feb 28, 2025
1 parent 6d0faaa commit 0d7b1f7
Showing 1 changed file with 18 additions and 18 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,24 +193,24 @@ function TopMenu(props) {
</APICreateMenu>
)}
{!query && !isAPIProduct && (
<Button
variant='contained'
color='primary'
component={Link}
disabled={isRestricted(['apim:api_publish', 'apim:api_create'])}
to='/apis/design-assistant'
sx={{ marginLeft: '10px' }}
>
<FormattedMessage
id='Apis.Listing.components.TopMenu.create.api.with.ai'
defaultMessage='Create API with AI'
/>
<img
alt='API Design Assistant'
src={`${app.context}/site/public/images/ai/DesignAssistant.svg`}
style={{ marginLeft: 8, width: 15, height: 15 }}
/>
</Button>
<Button
variant='contained'
color='primary'
component={Link}
disabled={isRestricted(['apim:api_publish', 'apim:api_create'])}
to='/apis/design-assistant'
sx={{ marginLeft: '10px' }}
>
<FormattedMessage
id='Apis.Listing.components.TopMenu.create.api.with.ai'
defaultMessage='Create API with AI'
/>
<img
alt='API Design Assistant'
src={`${app.context}/site/public/images/ai/DesignAssistant.svg`}
style={{ marginLeft: 8, width: 15, height: 15 }}
/>
</Button>
)}
</div>
{showToggle && (
Expand Down

0 comments on commit 0d7b1f7

Please sign in to comment.