We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cc226f commit 156de72Copy full SHA for 156de72
1 file changed
pages/shelf/[[walletAddress]].vue
@@ -678,6 +678,13 @@ onMounted(async () => {
678
}
679
})
680
681
+// PostHog loads lazily via @nuxt/scripts, so the flag may resolve after onMounted
682
+watch(isUploadedBookFeatureEnabled, (isEnabled) => {
683
+ if (isEnabled && isMyBookshelf.value && !uploadedBooksStore.hasFetched) {
684
+ uploadedBooksStore.fetchItems()
685
+ }
686
+})
687
+
688
onUnmounted(() => {
689
if (paramWalletAddress.value) {
690
bookshelfStore.reset()
0 commit comments