diff --git a/packages/bindx-ui/src/persist/persist-button.tsx b/packages/bindx-ui/src/persist/persist-button.tsx index 558ba43..16e22d1 100644 --- a/packages/bindx-ui/src/persist/persist-button.tsx +++ b/packages/bindx-ui/src/persist/persist-button.tsx @@ -11,7 +11,7 @@ export interface PersistButtonProps extends ComponentProps { readonly onError?: () => void } -export function PersistButton({ label, className, onSuccess, onError, ...buttonProps }: PersistButtonProps): ReactNode { +export function PersistButton({ label, className, onSuccess, onError, disabled, ...buttonProps }: PersistButtonProps): ReactNode { const { persistAllWithFeedback, isPersisting, isDirty } = usePersistWithFeedback() const handleClick = useCallback(async (): Promise => { @@ -26,7 +26,7 @@ export function PersistButton({ label, className, onSuccess, onError, ...buttonP return (