a a vibe-coded abomination experiment of a fragrance review platform built on the atmosphere. drydown.social

attempt to fix session auth

+2 -1
+2 -1
src/components/CreateReview.tsx
··· 43 43 44 44 // Use the session's built-in fetchHandler for authenticated requests 45 45 // The fetchHandler automatically routes to the user's PDS using tokenSet.aud 46 - const baseClient = new AtpBaseClient(session.fetchHandler) 46 + // We must bind it to the session to preserve 'this' context, specifically for 'getTokenSet' calls 47 + const baseClient = new AtpBaseClient(session.fetchHandler.bind(session)) 47 48 48 49 setAtp(baseClient) 49 50 loadData(baseClient)