Skip to content

Commit

Permalink
Remove unused reducers from state
Browse files Browse the repository at this point in the history
  • Loading branch information
aswallace committed Sep 30, 2024
1 parent 9ff7550 commit 7b5729d
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions packages/core/state/selection/reducer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@ import AnnotationName from "../../entity/Annotation/AnnotationName";
import FileFilter from "../../entity/FileFilter";
import FileFolder from "../../entity/FileFolder";
import FileSelection from "../../entity/FileSelection";
import ExcludeFilter from "../../entity/FileFilter/ExcludeFilter";
import FuzzyFilter from "../../entity/FileFilter/FuzzyFilter";
import IncludeFilter from "../../entity/FileFilter/IncludeFilter";

import {
SET_DISPLAY_ANNOTATIONS,
Expand Down Expand Up @@ -54,13 +51,10 @@ export interface SelectionStateBranch {
};
dataSources: Source[];
displayAnnotations: Annotation[];
excludeFilters?: ExcludeFilter[];
fileGridColumnCount: number;
fileSelection: FileSelection;
filters: FileFilter[];
fuzzyFilters?: FuzzyFilter[];
isDarkTheme: boolean;
includeFilters?: IncludeFilter[];
openFileFolders: FileFolder[];
recentAnnotations: string[];
selectedQuery?: string;
Expand All @@ -84,12 +78,9 @@ export const initialState = {
},
dataSources: [],
displayAnnotations: [],
excludeFilters: [],
fileGridColumnCount: THUMBNAIL_SIZE_TO_NUM_COLUMNS.LARGE,
fileSelection: new FileSelection(),
filters: [],
fuzzyFilters: [],
includeFilters: [],
isDarkTheme: true,
openFileFolders: [],
queries: [],
Expand Down

0 comments on commit 7b5729d

Please sign in to comment.