Skip to content

Commit

Permalink
style: format
Browse files Browse the repository at this point in the history
  • Loading branch information
DanSnow committed Feb 22, 2024
1 parent b373ba7 commit 62ec842
Showing 1 changed file with 8 additions and 11 deletions.
19 changes: 8 additions & 11 deletions packages/karbon/src/runtime/article/components/ArticleBody.vue
Original file line number Diff line number Diff line change
Expand Up @@ -44,17 +44,14 @@ watchEffect(() => {
processingArticles(root.value, fixArticleEmbed)
})
const { state: articleSegments, execute } = useAsyncState<Segment[]>(
async () => {
return await decryptPaidContent(
article?.paidContent?.key ?? '',
article?.paidContent?.iv ?? '',
article?.segments ?? [],
getDecryptKey,
)
},
article?.segments ?? [],
)
const { state: articleSegments, execute } = useAsyncState<Segment[]>(async () => {
return await decryptPaidContent(
article?.paidContent?.key ?? '',
article?.paidContent?.iv ?? '',
article?.segments ?? [],
getDecryptKey,
)
}, article?.segments ?? [])
const wrapArticleSegments = computed(() => {
let findedFirst = false
Expand Down

0 comments on commit 62ec842

Please sign in to comment.