Skip to content

Commit

Permalink
naming variable
Browse files Browse the repository at this point in the history
  • Loading branch information
preschian committed Sep 2, 2022
1 parent 2376836 commit 9f01c5b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
2 changes: 1 addition & 1 deletion components/landing/CuratedList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ type Collections = Collection & SomethingWithMeta
const collections = ref<Collections[]>([])
const updateCollections = async ({ data }) => {
if (!data?.collectionEntities.length) {
if (!data?.collectionEntities?.length) {
return
}
Expand Down
9 changes: 6 additions & 3 deletions pages/snek/create.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,13 @@
<section>
<br />
<b-tabs v-model="activeTab" destroy-on-hide expanded>
<b-tab-item v-for="x in components" :key="x" :label="x">
<b-tab-item
v-for="component in components"
:key="component"
:label="component">
<component
:is="x"
v-if="components[activeTab] === x"
:is="component"
v-if="components[activeTab] === component"
:show-explainer-text="showExplainerText"
@navigateToCreateNftTab="switchToNft" />
</b-tab-item>
Expand Down

0 comments on commit 9f01c5b

Please sign in to comment.