Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove the body.map(), body transformer and related types #10781

Open
gestchild opened this issue Apr 9, 2024 · 0 comments
Open

Remove the body.map(), body transformer and related types #10781

gestchild opened this issue Apr 9, 2024 · 0 comments
Assignees
Labels
epic: slice machine prismic anything to do with our use of Prismic

Comments

@gestchild
Copy link
Contributor

Once we've completed #10780, we should be able able to rely on the SliceZone to render the body slices.

We can then:

  • remove the toggle
  • remove the body.map() from Body.tsx
  • remove the body transformer
  • remove @weco/content/services/prismic/types/body as we now get these from '@weco/common/prismicio-types'; (need to fix the ContactSlice type first)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
epic: slice machine prismic anything to do with our use of Prismic
Projects
Status: Ready for review
Development

No branches or pull requests

2 participants