dce-reactkit 3.9.0-beta-loading-modal.1 → 3.9.0-beta-loading-modal.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "dce-reactkit",
3
- "version": "3.9.0-beta-loading-modal.1",
3
+ "version": "3.9.0-beta-loading-modal.2",
4
4
  "description": "Shared components for Harvard DCE apps",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -551,7 +551,7 @@ const Modal: React.FC<ModalProps> = (props) => {
551
551
  ),
552
552
  }}
553
553
  >
554
- {isLoading && !children ? (
554
+ {isLoading ? (
555
555
  <>
556
556
  <LoadingSpinner />
557
557
  <span className="sr-only">Content loading</span>