Skip to content

Commit

Permalink
feat(app detail): add dynamic name for navigate
Browse files Browse the repository at this point in the history
  • Loading branch information
nidhigarg-bmw committed Aug 18, 2023
1 parent 460bb63 commit 34905e5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/pages/AppDetail/AppDetailContentDetails.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ import CommonService from 'services/CommonService'
import AppDetailTechUserSetup from './components/AppDetailTechUserSetup'
import { Box } from '@mui/material'
import { useNavigate } from 'react-router-dom'
import { PAGES } from 'types/Constants'

export default function AppDetailContentDetails({
item,
Expand Down Expand Up @@ -95,7 +96,7 @@ export default function AppDetailContentDetails({
<Button
color="secondary"
size="small"
onClick={() => navigate('/appmarketplace')}
onClick={() => navigate(`${PAGES.APP_MARKETPLACE}`)}
>
{t('global.actions.back')}
</Button>
Expand Down

0 comments on commit 34905e5

Please sign in to comment.