MCPcopy Create free account
hub / github.com/pgadmin-org/pgadmin4 / useForceUpdate

Function useForceUpdate

web/pgadmin/static/js/custom_hooks.js:238–240  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

236}
237
238export function useForceUpdate() {
239 return React.useReducer(() => ({}), {})[1];
240}
241
242export function useBeforeUnload({ enabled, isNewTab, beforeClose, closePanel }) {
243 const onBeforeUnload = useCallback((e)=>{

Callers 2

QueryHistoryFunction · 0.90
AppMenuBarFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected