]> git.ipfire.org Git - thirdparty/vuejs/pinia.git/commitdiff
refactor: remove unused code
authorEduardo San Martin Morote <posva13@gmail.com>
Sun, 2 May 2021 19:25:59 +0000 (21:25 +0200)
committerEduardo San Martin Morote <posva13@gmail.com>
Sun, 2 May 2021 19:25:59 +0000 (21:25 +0200)
src/store.ts

index 21673567a2b243ec668805a793da48b9b4664d10..cf806947e659e7e4df66001c75f2ab7d4b91879a 100644 (file)
@@ -185,11 +185,6 @@ function initStore<Id extends string, S extends StateTree>(
     : /* istanbul ignore next */
       Symbol()
 
-  // avoid warnings with injections not found
-  if (pinia._a) {
-    pinia._a.provide(injectionSymbol, null)
-  }
-
   return [
     storeWithState,
     {