mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 16:43:16 +00:00
adds middleware to sync redux with local storage also adds ununsed
import error rule to linter
This commit is contained in:
@@ -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);
|
||||
}}
|
||||
|
||||
Reference in New Issue
Block a user