This repository has no description
0

Configure Feed

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

fix

+5 -5
+3 -3
app/src/app/dashboard/page.tsx
··· 283 283 value={text} 284 284 onChange={(e) => setText(e.target.value)} 285 285 placeholder="What's happening in the bathroom... (optional)" 286 - maxLength={59} 286 + maxLength={60} 287 287 className={styles.input} 288 288 disabled={isSubmitting} 289 289 /> 290 290 <div className={styles.charCount}> 291 - {text.length}/59 291 + {text.length}/60 292 292 </div> 293 293 </div> 294 294 ··· 351 351 </a> 352 352 <span className={styles.text}> 353 353 {entry.text ? 354 - (entry.text.length > 59 ? `${entry.text.substring(0, 59)}...` : entry.text) : 354 + (entry.text.length > 60 ? `${entry.text.substring(0, 60)}...` : entry.text) : 355 355 'is flushing'} 356 356 </span> 357 357 </div>
+1 -1
app/src/app/feed/page.tsx
··· 191 191 </div> 192 192 <div className={styles.content}> 193 193 <span className={styles.emoji}>{entry.emoji}</span> 194 - <span className={styles.text}>{entry.text.length > 59 ? `${entry.text.substring(0, 59)}...` : entry.text}</span> 194 + <span className={styles.text}>{entry.text.length > 60 ? `${entry.text.substring(0, 60)}...` : entry.text}</span> 195 195 </div> 196 196 </div> 197 197 ))}
+1 -1
app/src/app/page.tsx
··· 423 423 value={text.startsWith("is ") ? text.substring(3) : text} 424 424 onChange={(e) => setText(`is ${e.target.value}`)} 425 425 placeholder="flushing" 426 - maxLength={57} /* 60 - 3 for "is " */ 426 + maxLength={56} /* 60 - 3 for "is " */ 427 427 className={styles.inputWithPrefix} 428 428 disabled={isSubmitting} 429 429 />