@4i/modal-manager 1.1.33 → 1.1.34
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
@@ -127,7 +127,6 @@ var ModalProvider = function (_a) {
|
|
127
127
|
return __generator(this, function (_a) {
|
128
128
|
switch (_a.label) {
|
129
129
|
case 0:
|
130
|
-
console.log("handleClose", position);
|
131
130
|
if (!(position === "all")) return [3 /*break*/, 5];
|
132
131
|
i = modals.length - 1;
|
133
132
|
_a.label = 1;
|
@@ -81,7 +81,6 @@ const ModalProvider: React.FC<ModalProviderProps> = ({
|
|
81
81
|
};
|
82
82
|
|
83
83
|
const handleClose = async (position: number | string) => {
|
84
|
-
console.log("handleClose", position);
|
85
84
|
if (position === "all") {
|
86
85
|
// Закрыть все модальные окна с анимацией
|
87
86
|
for (let i = modals.length - 1; i >= 0; i--) {
|