From dfc04d356c86128f868b12182615bd57228111d6 Mon Sep 17 00:00:00 2001 From: Wilson Date: Fri, 30 Jun 2023 01:29:11 +0800 Subject: [PATCH] fix(devtools): wrong toast message (#2290) --- packages/pinia/src/devtools/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pinia/src/devtools/actions.ts b/packages/pinia/src/devtools/actions.ts index 6ca91d30..69ed2a18 100644 --- a/packages/pinia/src/devtools/actions.ts +++ b/packages/pinia/src/devtools/actions.ts @@ -112,7 +112,7 @@ export async function actionGlobalOpenStateFile(pinia: Pinia) { toastMessage(`Global state imported from "${file.name}".`) } catch (error) { toastMessage( - `Failed to export the state as JSON. Check the console for more details.`, + `Failed to import the state from JSON. Check the console for more details.`, 'error' ) console.error(error) -- 2.47.3