WIP PWA for Grain
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix: prevent duplicate GetProfile/GetFollowerCount queries on page load

Remove redundant #loadProfile() call from connectedCallback since
updated() already handles it when the handle property changes.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>

+1 -2
+1 -2
src/components/pages/grain-profile.js
··· 38 38 39 39 connectedCallback() { 40 40 super.connectedCallback(); 41 - this.#loadProfile(); 42 41 } 43 42 44 43 updated(changedProperties) { 45 - if (changedProperties.has('handle') && this.handle) { 44 + if (changedProperties.has('handle') && this.handle && this.handle !== changedProperties.get('handle')) { 46 45 this.#loadProfile(); 47 46 } 48 47 }