Skip to content

Commit

Permalink
Update src/runtime/composables/content.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Farnabaz <farnabaz@gmail.com>
  • Loading branch information
Barbapapazes and farnabaz committed Sep 15, 2023
1 parent ce1f17a commit 372eda0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/runtime/composables/content.ts
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export const useContent = <T extends ParsedContent, G extends object = Record<st
/**
* Next page from `surround`.
*/
const next = computed(() => surround?.value[1])
const next = computed(() => surround.value?.[1])

/**
* Previous page from `surround`.
Expand Down

0 comments on commit 372eda0

Please sign in to comment.