"use strict";
Object.defineProperty(exports, "__esModule", {
    value: true
});
Object.defineProperty(exports, "useForceUpdate", {
    enumerable: true,
    get: function() {
        return useForceUpdate;
    }
});
const _react = require("react");
const useForceUpdate = ()=>{
    const [, updateState] = (0, _react.useState)();
    const forceUpdate = (0, _react.useCallback)(()=>updateState({}), []);
    return forceUpdate;
};
