// ImageUpload.js
<input
  onChange={handleUpload}
  type="file"
  accept="image/*"
  multiple
  hidden
  disabled={ad.uploading}
/>

// AdForm.js
<button disabled={ad.loading} className="btn btn-primary">
  {ad.loading ? "Saving..." : "Submit"}
</button>