We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f010977 commit 4b54fa4Copy full SHA for 4b54fa4
frontend/app/old-app/components/ProfileDetail.jsx
@@ -234,6 +234,12 @@ function ProfileDetail({ initialUser }) {
234
value={bioInput}
235
onChange={(e) => setBioInput(e.target.value)}
236
variant="outlined"
237
+ slotProps={{
238
+ input: {
239
+ maxLength: 256
240
+ }
241
+ }}
242
+ helperText={`${bioInput.length}/256 characters`}
243
/>
244
<Button
245
onClick={handleSaveBio}
@@ -255,7 +261,7 @@ function ProfileDetail({ initialUser }) {
255
261
) : (
256
262
<Box sx={{ display: 'flex', alignItems: 'flex-start', gap: 1 }}>
257
263
<Typography>
258
- {profile.bio || "No bio yet"}
264
+ {profile.bio || `Hello, my name is ${profile.username} 👋`}
259
265
</Typography>
260
266
{isOwner && (
267
0 commit comments