You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

candidatesSelectors.js 219B

12345678
  1. import { createSelector } from "@reduxjs/toolkit";
  2. export const candidatesSelector = (state) => state.candidates;
  3. export const selectCandidates = createSelector(
  4. candidatesSelector,
  5. (state) => state.candidates,
  6. );