]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
fix(devtools): wrong toast message (#2290)
authorWilson <binaryaoe@163.com>
Thu, 29 Jun 2023 17:29:11 +0000 (01:29 +0800)
committerGitHub <noreply@github.com>
Thu, 29 Jun 2023 17:29:11 +0000 (19:29 +0200)
packages/pinia/src/devtools/actions.ts

index 6ca91d304317d7a08d66c674b24008440b6aaadc..69ed2a18340aeea749b02280a475e34f1b91042e 100644 (file)
@@ -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)