From 399a93002b9b3627e636af191e64a7b56f82d2db Mon Sep 17 00:00:00 2001 From: Eduardo San Martin Morote Date: Thu, 24 Jun 2021 18:16:03 +0200 Subject: [PATCH] fix(devtools): avoid warning --- src/devtools/plugin.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/devtools/plugin.ts b/src/devtools/plugin.ts index fe76b53f..82b55e45 100644 --- a/src/devtools/plugin.ts +++ b/src/devtools/plugin.ts @@ -173,10 +173,9 @@ function addDevtools(app: App, store: Store) { : registeredStores.get(payload.nodeId) if (!inspectedStore) { - return toastMessage( - `store "${payload.nodeId}" not found`, - 'error' - ) + // this could be the selected store restored for a different project + // so it's better not to say anything here + return } if (inspectedStore) { -- 2.47.2