Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-web
ensembl-client
Commits
7e483ed5
Commit
7e483ed5
authored
Jul 02, 2022
by
Andrey Azov
Browse files
Remove commented redux action
parent
4d0db9e8
Pipeline
#295109
passed with stages
in 5 minutes and 21 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
24 deletions
+0
-24
src/content/app/species-selector/state/speciesSelectorSlice.ts
...ontent/app/species-selector/state/speciesSelectorSlice.ts
+0
-24
No files found.
src/content/app/species-selector/state/speciesSelectorSlice.ts
View file @
7e483ed5
...
...
@@ -107,30 +107,6 @@ export const fetchPopularSpecies = createAsyncThunk(
}
);
// export const ensureSpeciesIsCommitted =
// (genomeId: string): ThunkAction<void, any, void, Action<string>> =>
// async (dispatch, getState: () => RootState) => {
// const state = getState();
// const committedSpecies = getCommittedSpecies(state);
// const genomeInfo = getGenomeInfoById(state, genomeId);
// if (getCommittedSpeciesById(state, genomeId) || !genomeInfo) {
// return;
// }
// const newCommittedSpecies = [
// ...committedSpecies,
// {
// ...pickBy(genomeInfo, (_, key) => {
// return key !== 'example_objects';
// }),
// isEnabled: true
// }
// ] as CommittedItem[];
// dispatch(updateCommittedSpecies(newCommittedSpecies));
// speciesSelectorStorageService.saveSelectedSpecies(newCommittedSpecies);
// };
export
const
loadStoredSpecies
=
():
ThunkAction
<
void
,
any
,
void
,
Action
<
string
>>
=>
(
dispatch
)
=>
{
const
storedSpecies
=
speciesSelectorStorageService
.
getSelectedSpecies
();
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment