mirror of
https://github.com/strapi/strapi.git
synced 2025-09-26 08:52:26 +00:00
fix: AutoReload context value had incorrect names for object properties
This commit is contained in:
parent
9a5261a05d
commit
c62bca7913
@ -34,8 +34,8 @@ import pxToRem from '../utils/pxToRem';
|
||||
/**
|
||||
* @preserve
|
||||
* @typedef {Object} AutoReloadOverlayBlockerContextValue
|
||||
* @property {(config: AutoReloadOverlayBlockerConfig) => void} lockApp
|
||||
* @property {() => void} unlockApp
|
||||
* @property {(config: AutoReloadOverlayBlockerConfig) => void} lockAppWithAutoreload
|
||||
* @property {() => void} unlockAppWithAutoreload
|
||||
*/
|
||||
|
||||
/**
|
||||
@ -111,8 +111,8 @@ const AutoReloadOverlayBlockerProvider = ({ children }) => {
|
||||
|
||||
const autoReloadValue = React.useMemo(
|
||||
() => ({
|
||||
lockApp: lockAppWithAutoreload,
|
||||
unlockApp: unlockAppWithAutoreload,
|
||||
lockAppWithAutoreload,
|
||||
unlockAppWithAutoreload,
|
||||
}),
|
||||
[lockAppWithAutoreload, unlockAppWithAutoreload]
|
||||
);
|
||||
|
Loading…
x
Reference in New Issue
Block a user