From bb5c6d3bd5c9f9937195f17b016dcd7198569837 Mon Sep 17 00:00:00 2001 From: Trey T Date: Mon, 1 Jun 2026 19:04:50 -0500 Subject: [PATCH] Fix Settings crash: missing fragment interpolation MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ANALYTICS_OWN_PROFILE_FRAGMENT spreads ...ProfileLocationFragment but never interpolated ${PROFILE_LOCATION_FRAGMENT}, unlike its siblings (PROFILE_CONTENT, LIKES, SEARCH_SETTINGS). The dangling spread propagated up through AUTH_PROFILE_FRAGMENT → AUTH_PROVIDER_FRAGMENT → APP_SETTINGS_QUERY, which the Settings page runs on mount — producing "Invariant Violation: No fragment named ProfileLocationFragment" and crashing . Add the interpolation so the fragment is self-contained. Also fixes the same latent break in AUTH_PROVIDER_QUERY and ANALYTICS_QUERY. Co-Authored-By: Claude Opus 4.7 --- web/src/api/operations/queries.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/web/src/api/operations/queries.ts b/web/src/api/operations/queries.ts index afbe409..73673b4 100755 --- a/web/src/api/operations/queries.ts +++ b/web/src/api/operations/queries.ts @@ -135,6 +135,7 @@ export const ANALYTICS_PROFILE_FRAGMENT = gql` // Analytics fragment for the OWN profile (extra fields like analyticsId, lgbtqiaMode, lookingFor, etc.) export const ANALYTICS_OWN_PROFILE_FRAGMENT = gql` + ${PROFILE_LOCATION_FRAGMENT} fragment AnalyticsOwnProfileFragment on Profile { id age