wellcomecollection.org icon indicating copy to clipboard operation
wellcomecollection.org copied to clipboard

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

Open gestchild opened this issue 10 months ago • 0 comments

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)

gestchild avatar Apr 09 '24 15:04 gestchild