simplify fact box types
This commit is contained in:
@@ -141,6 +141,10 @@ const OneLevelOfBlocksFragmentDefinition = graphql(`
|
||||
embed
|
||||
rawEmbed
|
||||
}
|
||||
... on FactBoxBlock {
|
||||
backgroundColor
|
||||
factBoxBody: body
|
||||
}
|
||||
}
|
||||
`);
|
||||
|
||||
@@ -152,13 +156,6 @@ const BlockFragmentDefinition = graphql(`
|
||||
...OneLevelOfBlocks
|
||||
}
|
||||
}
|
||||
... on FactBoxBlock {
|
||||
heading
|
||||
backgroundColor
|
||||
body {
|
||||
...OneLevelOfBlocks
|
||||
}
|
||||
}
|
||||
... on PageSectionBlock {
|
||||
title
|
||||
backgroundColor
|
||||
|
||||
Reference in New Issue
Block a user