Warn when parent component is being unmounted

This commit is contained in:
Tony Giorgio
2023-06-19 18:37:27 -05:00
committed by Paul Miller
parent 2d69edd78d
commit 869a968587

View File

@@ -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