Skip to content

Commit

Permalink
linted
Browse files Browse the repository at this point in the history
  • Loading branch information
Nopfed committed Jan 2, 2024
1 parent 4af86b1 commit 3571f8b
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 6 deletions.
8 changes: 4 additions & 4 deletions components/FeedItemCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -124,14 +124,14 @@ const gatewayBase = `${protocol}://${host}:${port}`
const isCuration = ref<boolean>(false)

const { data, pending } = useLazyAsyncData(props.id, async () => {
const checkId = await abc.curations.get(props.id)
const checkId = abc.curations.get(props.id)

if (checkId) {
if (
checkId
// .tags
// .find(o => o.name === 'Entity-Type')?
// .value === 'curation'
// .tags
// .find(o => o.name === 'Entity-Type')?
// .value === 'curation'
) {

isCuration.value = true
Expand Down
2 changes: 1 addition & 1 deletion components/FollowButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</v-btn>

<v-btn
v-else="alreadyFollowing"
v-else
color="primary"
prepend-icon="mdi-minus"
variant="outlined"
Expand Down
5 changes: 4 additions & 1 deletion pages/[profile]/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,10 @@
<!-- <TipButton :address="data.address" /> -->
<CollaborateMenu :address="data.address" class="mb-4" />
<!-- <CurateMenu :item="data.address" label="Follow" /> -->
<FollowButton :address="data.address" :owner="(auth.address as string)" />
<FollowButton
:address="data.address"
:owner="(auth.address as string)"
/>
</template>
</v-row>
</v-col>
Expand Down

0 comments on commit 3571f8b

Please sign in to comment.