]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
style: lint
authorEduardo San Martin Morote <posva13@gmail.com>
Wed, 3 Mar 2021 16:39:39 +0000 (17:39 +0100)
committerEduardo San Martin Morote <posva13@gmail.com>
Mon, 8 Mar 2021 14:50:05 +0000 (15:50 +0100)
src/devtools.ts

index 88e1cd507640fc75f47e1eeaa913f92fd633953a..03a4a479c5c065180c340f640ed42caae404ce5f 100644 (file)
@@ -80,9 +80,8 @@ export function useStoreDevtools(store: StoreWithState<string, StateTree>) {
     rootStore.state[store.$id] = state
     devtoolHook.emit(
       'vuex:mutation',
-      assign({},
-        mutation,
-        {type: `[${mutation.storeName}] ${mutation.type}`,
+      assign({}, mutation, {
+        type: `[${mutation.storeName}] ${mutation.type}`,
       }),
       rootStore.state
     )