···203203 );
204204 }
205205206206- // When record is provided, pass it directly to skip fetching
207207- if (record) {
206206+207207+ if (record !== undefined) {
208208 return (
209209 <AtProtoRecord<FeedPostRecord>
210210 record={record}
···215215 );
216216 }
217217218218- // Otherwise fetch the record using did, collection, and rkey
219218 return (
220219 <AtProtoRecord<FeedPostRecord>
221220 did={repoIdentifier}
+1-3
lib/components/BlueskyProfile.tsx
···135135 );
136136 };
137137138138- // When record is provided, pass it directly to skip fetching
139139- if (record) {
138138+ if (record !== undefined) {
140139 return (
141140 <AtProtoRecord<ProfileRecord>
142141 record={record}
···147146 );
148147 }
149148150150- // Otherwise fetch the record using did, collection, and rkey
151149 return (
152150 <AtProtoRecord<ProfileRecord>
153151 did={repoIdentifier}
+1-3
lib/components/LeafletDocument.tsx
···121121 );
122122 };
123123124124- // When record is provided, pass it directly to skip fetching
125125- if (record) {
124124+ if (record !== undefined) {
126125 return (
127126 <AtProtoRecord<LeafletDocumentRecord>
128127 record={record}
···133132 );
134133 }
135134136136- // Otherwise fetch the record using did, collection, and rkey
137135 return (
138136 <AtProtoRecord<LeafletDocumentRecord>
139137 did={did}
+1-3
lib/components/TangledString.tsx
···8282 />
8383 );
84848585- // When record is provided, pass it directly to skip fetching
8686- if (record) {
8585+ if (record !== undefined) {
8786 return (
8887 <AtProtoRecord<TangledStringRecord>
8988 record={record}
···9493 );
9594 }
96959797- // Otherwise fetch the record using did, collection, and rkey
9896 return (
9997 <AtProtoRecord<TangledStringRecord>
10098 did={did}