fix(tracker): fix store naming

This commit is contained in:
sylenien 2022-08-31 09:47:29 +02:00
parent dff9cd92bf
commit 0003e11303

View file

@ -46,7 +46,7 @@ export default function(opts: Partial<Options> = {}) {
}
const encoder = new Encoder(sha1, 50);
const state = {};
return (store, storeName) => {
return (storeName: string) => (store) => {
// Vuex
if (store.subscribe) {
const randomId = Math.random().toString(36).substring(2, 9)