mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
Merge aab1560d7f into 298a8857c7
This commit is contained in:
commit
441624381c
1 changed files with 5 additions and 1 deletions
|
|
@ -138,7 +138,11 @@ export function Editor({ post }: EditorProps) {
|
|||
{post.published ? "Published" : "Draft"}
|
||||
</p>
|
||||
</div>
|
||||
<button type="submit" className={cn(buttonVariants())}>
|
||||
<button
|
||||
type="submit"
|
||||
disabled={isSaving}
|
||||
className={cn(buttonVariants())}
|
||||
>
|
||||
{isSaving && (
|
||||
<Icons.spinner className="mr-2 h-4 w-4 animate-spin" />
|
||||
)}
|
||||
|
|
|
|||
Loading…
Reference in a new issue