@ -3,7 +3,7 @@ import localForage from 'localforage';
|
|||||||
|
|
||||||
class CacheStore {
|
class CacheStore {
|
||||||
key: string;
|
key: string;
|
||||||
version: number = 1;
|
version: number = 2;
|
||||||
|
|
||||||
cacheKey = (key: string): string => {
|
cacheKey = (key: string): string => {
|
||||||
return `CACHE_${this.key}_${this.version}_${key}`;
|
return `CACHE_${this.key}_${this.version}_${key}`;
|
||||||
|
Reference in New Issue
Block a user