diff --git a/.github/workflows/reviewdog.yml b/.github/workflows/reviewdog.yml index b17fa42f8e..058febaf22 100644 --- a/.github/workflows/reviewdog.yml +++ b/.github/workflows/reviewdog.yml @@ -1,7 +1,8 @@ name: Reviewdog on: - pull_request: + pull_request: {} + push: branches: [main] jobs: diff --git a/components/chart/PriceChart.vue b/components/chart/PriceChart.vue index 8eb72f85fb..0160504ee1 100644 --- a/components/chart/PriceChart.vue +++ b/components/chart/PriceChart.vue @@ -87,7 +87,6 @@ diff --git a/components/common/autoTeleport/AutoTeleportActionButton.vue b/components/common/autoTeleport/AutoTeleportActionButton.vue index a352ac235c..ce5788dc93 100644 --- a/components/common/autoTeleport/AutoTeleportActionButton.vue +++ b/components/common/autoTeleport/AutoTeleportActionButton.vue @@ -154,7 +154,7 @@ const { $i18n } = useNuxtApp() const { chainSymbol, name } = useChain() const { isModalOpen } = useAutoTeleportModal() -const amount = ref() +const amounts = ref() const { isAvailable: isAutoTeleportAvailable, @@ -167,7 +167,7 @@ const { clear, } = useAutoTeleport( computed(() => props.actions), - computed(() => amount.value), + computed(() => amounts.value), props.fees, ) @@ -337,7 +337,7 @@ watch(allowAutoTeleport, (allow) => { watchSyncEffect(() => { if (!isModalOpen.value) { - amount.value = props.amount + amounts.value = props.amount } }) diff --git a/components/common/shoppingCart/ShoppingCartModal.vue b/components/common/shoppingCart/ShoppingCartModal.vue index d42b3b4e0e..2bdce860ac 100644 --- a/components/common/shoppingCart/ShoppingCartModal.vue +++ b/components/common/shoppingCart/ShoppingCartModal.vue @@ -146,6 +146,7 @@ const clearAllItems = () => { } const sortedItems = computed(() => + // eslint-disable-next-line vue/no-side-effects-in-computed-properties items.value.sort((a, b) => b.addedAt - a.addedAt), ) diff --git a/components/create/CreateNft.vue b/components/create/CreateNft.vue index 203934173e..e206d6522f 100644 --- a/components/create/CreateNft.vue +++ b/components/create/CreateNft.vue @@ -387,6 +387,8 @@ const imagePreview = computed(() => { if (form.file) { return URL?.createObjectURL(form.file) } + + return null }) // select available blockchain diff --git a/components/gallery/GalleryItem.vue b/components/gallery/GalleryItem.vue index 23097805a2..9391a0f8f3 100644 --- a/components/gallery/GalleryItem.vue +++ b/components/gallery/GalleryItem.vue @@ -329,6 +329,8 @@ const seoCard = computed(() => { nftMimeType.value, ) } + + return '' }) useSeoMeta({ diff --git a/components/gallery/GalleryItemDescription.vue b/components/gallery/GalleryItemDescription.vue index 542fc11a6b..f15779f2ef 100644 --- a/components/gallery/GalleryItemDescription.vue +++ b/components/gallery/GalleryItemDescription.vue @@ -302,11 +302,7 @@ const descSource = computed(() => { nftMetadata.value?.description?.replaceAll('\n', ' \n') || '', ) }) -const parent = computed(() => { - if (nft.value?.parent?.id) { - return useGalleryItem(nft.value?.parent?.id) - } -}) +const parent = computed(() => nft.value?.parent?.id ? useGalleryItem(nft.value?.parent?.id) : undefined) const isLewd = computed(() => { return Boolean( properties.value?.find((item) => { @@ -324,6 +320,8 @@ const recipient = computed(() => { return nft.value?.recipient } } + + return undefined }) defineExpose({ isLewd }) @@ -334,6 +332,8 @@ const parentNftUrl = computed(() => { return `/${urlPrefix.value}/${url}/${parent.value?.nft.value?.id}` } + + return '' }) const properties = computed(() => { diff --git a/components/gallery/GalleryItemTabsPanel/GalleryItemTabsPanel.vue b/components/gallery/GalleryItemTabsPanel/GalleryItemTabsPanel.vue index c09e624a95..193392863b 100644 --- a/components/gallery/GalleryItemTabsPanel/GalleryItemTabsPanel.vue +++ b/components/gallery/GalleryItemTabsPanel/GalleryItemTabsPanel.vue @@ -1,6 +1,6 @@