Skip to content

Commit

Permalink
Use basecontainer in pagebuilder
Browse files Browse the repository at this point in the history
  • Loading branch information
rijkvanzanten committed Jul 28, 2023
1 parent ebaf5de commit 99f613c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 31 deletions.
29 changes: 0 additions & 29 deletions components/BlockContainer.vue

This file was deleted.

4 changes: 2 additions & 2 deletions components/PageBuilder.vue
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ const components: Record<BlockType, ReturnType<typeof resolveComponent>> = {
<template>
<div class="content">
<PageSection v-for="section in sections" :key="section.id" :background="section.background">
<BlockContainer v-for="block in section.blocks" :key="block.id">
<BaseContainer v-for="block in section.blocks" :key="block.id">
<component :is="components[block.collection]" :uuid="block.item" />
</BlockContainer>
</BaseContainer>
</PageSection>
</div>
</template>
Expand Down

0 comments on commit 99f613c

Please sign in to comment.