chore: rename action creators to remove "AC"

This commit is contained in:
2024-08-17 19:24:45 +02:00
parent 0fab9d4e0a
commit 7b88633fba
11 changed files with 102 additions and 110 deletions

View File

@@ -3,7 +3,7 @@ import { useSelector } from 'react-redux'
import { AppRootStateType } from 'app/store'
import {
addTodolistTC,
changeTodolistFilterAC,
changeTodolistFilter,
changeTodolistTitleTC,
fetchTodolistsTC,
FilterValuesType,
@@ -80,7 +80,7 @@ export const TodolistsList: React.FC<PropsType> = ({ demo = false }) => {
value: FilterValuesType,
todolistId: string
) {
const action = changeTodolistFilterAC({ id: todolistId, filter: value })
const action = changeTodolistFilter({ id: todolistId, filter: value })
dispatch(action)
}, [])