add dynamic localstorage context
This commit is contained in:
parent
9a01cb55f6
commit
debe01d795
1 changed files with 4 additions and 1 deletions
|
@ -1,6 +1,9 @@
|
||||||
import { showSnackbar } from "./snackbarHelper";
|
import { showSnackbar } from "./snackbarHelper";
|
||||||
|
|
||||||
const LOCAL_STORAGE_APP_CONTEXT = "ffc_";
|
// const LOCAL_STORAGE_APP_CONTEXT = "ffc_";
|
||||||
|
|
||||||
|
const url = new URL(window.location.href);
|
||||||
|
const LOCAL_STORAGE_APP_CONTEXT = url.pathname + "_";
|
||||||
|
|
||||||
export interface SyncItem {
|
export interface SyncItem {
|
||||||
key: string;
|
key: string;
|
||||||
|
|
Loading…
Reference in a new issue