this repo has no description
0
fork

Configure Feed

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

Fix userInitiated undefined

+9 -4
+9 -4
src/pages/status.jsx
··· 304 304 <SubComments 305 305 hasManyStatuses={hasManyStatuses} 306 306 replies={replies} 307 + onStatusLinkClick={() => { 308 + userInitiated.current = true; 309 + }} 307 310 /> 308 311 )} 309 312 {uiState === 'loading' && ··· 339 342 ); 340 343 } 341 344 342 - function SubComments({ hasManyStatuses, replies }) { 345 + function SubComments({ 346 + hasManyStatuses, 347 + replies, 348 + onStatusLinkClick = () => {}, 349 + }) { 343 350 // If less than or 2 replies and total number of characters of content from replies is less than 500 344 351 let isBrief = false; 345 352 if (replies.length <= 2) { ··· 365 372 <Link 366 373 class="status-link" 367 374 href={`#/s/${replyID}`} 368 - onClick={() => { 369 - userInitiated.current = true; 370 - }} 375 + onClick={onStatusLinkClick} 371 376 > 372 377 <Status statusID={replyID} withinContext size="s" /> 373 378 </Link>