react-usespinner 1.0.9 → 1.0.10
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/usespinner.js +1 -1
- package/package.json +1 -1
package/dist/usespinner.js
CHANGED
@@ -85,7 +85,7 @@ var useSpinner = function (globalOptions) {
|
|
85
85
|
var SpinnerContainer = function (_a) {
|
86
86
|
var spinner = _a.spinner, children = _a.children;
|
87
87
|
// If no active Actions then dont display anything
|
88
|
-
if (actions && actions.length
|
88
|
+
if (actions && actions.length > 0) {
|
89
89
|
return (0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: spinner });
|
90
90
|
}
|
91
91
|
return (0, jsx_runtime_1.jsx)("div", __assign({ className: "useSpinner" }, { children: children }));
|
package/package.json
CHANGED