mirror of
https://github.com/aljazceru/mutiny-web.git
synced 2026-01-03 22:34:25 +01:00
Warn when parent component is being unmounted
This commit is contained in:
committed by
Paul Miller
parent
2d69edd78d
commit
869a968587
@@ -224,6 +224,10 @@ export const Provider: ParentComponent = (props) => {
|
||||
}
|
||||
};
|
||||
|
||||
onCleanup(() => {
|
||||
console.warn('Parent Component is being unmounted!!!');
|
||||
});
|
||||
|
||||
// Fetch status from remote on load
|
||||
onMount(() => {
|
||||
// eslint-disable-next-line
|
||||
|
||||
Reference in New Issue
Block a user