Skip to content

Commit

Permalink
(PC-33923)[PRO] feat: Hide "plus tard" button.
Browse files Browse the repository at this point in the history
  • Loading branch information
Amine Louveau authored and abouabdallaoui-pass committed Jan 14, 2025
1 parent 967fa66 commit c6abfc8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,5 @@ describe('OnboardingOffersChoice Component', () => {
expect(
screen.getByText('Aux enseignants sur la plateforme ADAGE')
).toBeInTheDocument()

// Check that the "plus tard" link is displayed
expect(screen.getByText('Plus tard')).toBeInTheDocument()
})
})
Original file line number Diff line number Diff line change
@@ -1,7 +1,4 @@
import { OnboardingOffersChoice } from 'components/OnboardingOffersChoice/OnboardingOffersChoice'
import fullWaitIcon from 'icons/full-wait.svg'
import { ButtonLink } from 'ui-kit/Button/ButtonLink'
import { ButtonVariant } from 'ui-kit/Button/types'

import { OnboardingLayout } from '../components/OnboardingLayout/OnboardingLayout'

Expand All @@ -20,13 +17,6 @@ export const OnboardingOffersTypeChoice = () => {
</h2>
</div>
<OnboardingOffersChoice />
<ButtonLink
icon={fullWaitIcon}
to="/my-path"
variant={ButtonVariant.TERNARY}
>
Plus tard
</ButtonLink>
</div>
</OnboardingLayout>
)
Expand Down

0 comments on commit c6abfc8

Please sign in to comment.