adds middleware to sync redux with local storage also adds ununsed

import error rule to linter
This commit is contained in:
ajaythapliyal
2023-02-24 18:46:46 +05:30
parent d98b558ab0
commit b662c30508
8 changed files with 81 additions and 5922 deletions

View File

@@ -17,7 +17,6 @@ import {
selectSourceDocs,
setSelectedDocs,
} from './preferences/preferenceSlice';
import { setLocalRecentDocs } from './preferences/preferenceApi';
export default function Navigation({
navState,
@@ -98,7 +97,6 @@ export default function Navigation({
<div
key={index}
onClick={() => {
setLocalRecentDocs(doc);
dispatch(setSelectedDocs(doc));
setIsDocsListOpen(false);
}}