Skip to content

Commit

Permalink
chore(@dpc-sdp/ripple-tide-landing-page): remove accordion title prop
Browse files Browse the repository at this point in the history
  • Loading branch information
David Featherston committed Jul 5, 2023
1 parent c79c7af commit 35557b8
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,6 @@ describe('accordionMapping', () => {
title: 'TEST_TITLE',
props: {
id: '4771',
title: 'TEST_TITLE',
numbered: false,
items: [
{
Expand All @@ -117,7 +116,6 @@ describe('accordionMapping', () => {
title: 'TEST_TITLE',
props: {
id: '4771',
title: 'TEST_TITLE',
numbered: true,
items: [
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ import { TideDynamicPageComponent } from '@dpc-sdp/ripple-tide-api/types'
export interface ITideAccordion {
id: string
numbered: boolean
title: string
items: Array<{
id: string
title: string
Expand All @@ -21,7 +20,6 @@ export const accordionMapping = (
title: field.field_paragraph_title,
props: {
id: field.drupal_internal__id.toString(),
title: field.field_paragraph_title,
numbered: field.field_paragraph_accordion_style === 'numbered',
items: field.field_paragraph_accordion.map((acc) => {
return {
Expand Down

0 comments on commit 35557b8

Please sign in to comment.