@TP-12452 - navigate to next case -fix (#109)

This commit is contained in:
Kunal Sharma
2022-12-07 14:33:20 +05:30
committed by GitHub Enterprise
parent deca317deb
commit 9972cec5db
2 changed files with 2 additions and 2 deletions

View File

@@ -32,7 +32,7 @@ import { LOCAL_STORAGE_KEYS } from '../../../constants/StorageKeys';
import { AllCasesPageRequest } from '../../Cases/constants/CasesInterfaces';
const allocatedCasesPageRequest = JSON.parse(
localStorage.getItem(LOCAL_STORAGE_KEYS.ALLOCATED_CASES_PAGE_REQUEST) || ''
localStorage.getItem(LOCAL_STORAGE_KEYS.ALLOCATED_CASES_PAGE_REQUEST) || '{}'
) as AllCasesPageRequest;
const CaseDetail: React.FC<React.PropsWithChildren> = () => {

View File

@@ -37,7 +37,7 @@ import Dropdown from 'src/components/Dropdown';
import { SelectPickerOptionProps } from 'src/components/interfaces';
const allocatedCasesPageRequest = JSON.parse(
localStorage.getItem(LOCAL_STORAGE_KEYS.ALLOCATED_CASES_PAGE_REQUEST) || ''
localStorage.getItem(LOCAL_STORAGE_KEYS.ALLOCATED_CASES_PAGE_REQUEST) || '{}'
) as AllCasesPageRequest;
const FeedbackFrom = () => {