Skip to content

Commit

Permalink
fix: use string tokens instead of symbols
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-heimbuch committed Apr 24, 2023
1 parent d6c58ec commit fc224c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tokens.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ import { Store, createStore, combineReducers } from 'redux'
import { inject, provide, App } from 'vue'
import { Actions } from './types'

export const storeToken = Symbol('ReduxStore')
export const actionsToken = Symbol('ReduxActions')
export const storeToken = '$ReduxVuexStoreToken$'
export const actionsToken = '$ReduxVuexActionsToken$'

export const provideStore = (store: Store, app?: App<any>) => {
if (!store) {
Expand Down

0 comments on commit fc224c8

Please sign in to comment.