From 0fee808b5a02c852451e47d38a3455729e3ed799 Mon Sep 17 00:00:00 2001 From: tej656 Date: Wed, 31 Jul 2024 13:17:41 +0530 Subject: [PATCH] use sessionStorage to fetchfloorData --- modules/pubxaiRtdProvider.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/pubxaiRtdProvider.js b/modules/pubxaiRtdProvider.js index d561e7385d7..e3e74101266 100644 --- a/modules/pubxaiRtdProvider.js +++ b/modules/pubxaiRtdProvider.js @@ -115,7 +115,7 @@ export const fetchFloorRules = async (provider) => { } else { // Fetch from local storage try { - const localData = storage.getDataFromLocalStorage('pubx:dynamicFloors') || window.__pubxDynamicFloors__; + const localData = storage.getDataFromSessionStorage('pubx:dynamicFloors') || window.__pubxDynamicFloors__; if (localData) { resolve(JSON.parse(localData)); } else {