mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
Merge 7e99d0bc5f into 298a8857c7
This commit is contained in:
commit
a59b39ef54
1 changed files with 2 additions and 2 deletions
|
|
@ -149,8 +149,8 @@ export function Editor({ post }: EditorProps) {
|
|||
<TextareaAutosize
|
||||
autoFocus
|
||||
id="title"
|
||||
defaultValue={post.title}
|
||||
placeholder="Post title"
|
||||
defaultValue={post.title === "Untitled Post" ? "" : post.title}
|
||||
placeholder="Untitled Post"
|
||||
className="w-full resize-none appearance-none overflow-hidden bg-transparent text-5xl font-bold focus:outline-none"
|
||||
{...register("title")}
|
||||
/>
|
||||
|
|
|
|||
Loading…
Reference in a new issue