react-clear-cache
Advanced tools
Comparing version 1.4.7 to 1.4.8
@@ -16,3 +16,3 @@ import * as React from 'react'; | ||
export declare const ClearCacheProvider: React.FC<OwnProps>; | ||
export declare const useClearCacheCtx: () => Result | null; | ||
export declare const useClearCacheCtx: () => Result; | ||
export declare const useClearCache: (props?: OwnProps | undefined) => { | ||
@@ -19,0 +19,0 @@ loading: boolean; |
@@ -92,3 +92,3 @@ import { useRef, useEffect, useState, createContext, createElement, useContext } from 'react'; | ||
}; | ||
var ClearCacheContext = createContext(null); | ||
var ClearCacheContext = createContext({}); | ||
var ClearCacheProvider = function (props) { | ||
@@ -95,0 +95,0 @@ var children = props.children, otherProps = __rest(props, ["children"]); |
@@ -96,3 +96,3 @@ 'use strict'; | ||
}; | ||
var ClearCacheContext = React.createContext(null); | ||
var ClearCacheContext = React.createContext({}); | ||
var ClearCacheProvider = function (props) { | ||
@@ -99,0 +99,0 @@ var children = props.children, otherProps = __rest(props, ["children"]); |
{ | ||
"name": "react-clear-cache", | ||
"version": "1.4.7", | ||
"version": "1.4.8", | ||
"description": "A component to manage application updates.", | ||
@@ -5,0 +5,0 @@ "author": "noahjohn9259", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
84048