'use client';
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
    return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = __importDefault(require("react"));
exports.default = (function (color) {
    if (color === void 0) { color = '#EEF4FF'; }
    react_1.default.useEffect(function () {
        var cachedColor = document.body.style.background;
        document.body.style.background = color;
        return function () {
            document.body.style.background = cachedColor;
        };
    }, []);
});
//# sourceMappingURL=useBackgroundColorEffect.js.map