diff --git a/src/App.vue b/src/App.vue index c0d5971..f1e5ab1 100644 --- a/src/App.vue +++ b/src/App.vue @@ -5,7 +5,6 @@ - - diff --git a/src/pages/Feed.vue b/src/pages/Feed.vue index 6167070..3c3b17d 100644 --- a/src/pages/Feed.vue +++ b/src/pages/Feed.vue @@ -58,8 +58,8 @@ const Feeds = { let authors = contacts?.map(contact => contact.pubkey) if (!authors || !authors.length) authors = [ZERO_PUBKEY] return { - authors, kinds: [EventKind.NOTE], + authors, limit: 50, } }, @@ -104,7 +104,6 @@ export default defineComponent({ }, watch: { contacts() { - console.log('following', this.$refs.following) this.$refs.following?.[0]?.reload() }, }, diff --git a/src/pages/Thread.vue b/src/pages/Thread.vue index c416a78..73ed512 100644 --- a/src/pages/Thread.vue +++ b/src/pages/Thread.vue @@ -223,7 +223,6 @@ export default defineComponent({ } }, mounted() { - console.log('mounted', this.noteId) this.startStream() this.buildThread() @@ -232,7 +231,6 @@ export default defineComponent({ setTimeout(() => this.resizeObserver.disconnect(), 2000) }, unmounted() { - console.log('unmounted', this.subId) this.closeStream() this.resizeObserver.disconnect() } diff --git a/src/stores/App.js b/src/stores/App.js index 8e947da..c732f6e 100644 --- a/src/stores/App.js +++ b/src/stores/App.js @@ -14,14 +14,14 @@ export const useAppStore = defineStore('app', { }, }), getters: { - activeAccount(state) { + activeAccount() { const settings = useSettingsStore() return settings.activeAccount }, - isSignedIn(state) { + isSignedIn() { return !!this.activeAccount }, - myPubkey(state) { + myPubkey() { return this.activeAccount?.pubkey }, },