Просмотр исходного кода

把bodyPart slice合并到store中

ddx 4 месяцев назад
Родитель
Сommit
b6f94ffac3
1 измененных файлов с 2 добавлено и 0 удалено
  1. 2 0
      src/states/store.ts

+ 2 - 0
src/states/store.ts

@@ -2,12 +2,14 @@ import { configureStore } from '@reduxjs/toolkit';
 import userInfoReducer from './user_info';
 import viewSelectionReducer from './patient/viewSelection';
 import patientTypeReducer from './patientTypeSlice';
+import bodyPartReducer from './bodyPartSlice';
 
 const store = configureStore({
   reducer: {
     userInfo: userInfoReducer,
     viewSelection: viewSelectionReducer,
     patientType: patientTypeReducer,
+    bodyPart: bodyPartReducer,
   },
 });