mirror of
https://github.com/ershisan99/it-incubator-todolist-ts-17-live-2024-08-17.git
synced 2026-01-29 21:02:11 +00:00
chore: rename action creators to remove "AC"
This commit is contained in:
@@ -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)
|
||||
}, [])
|
||||
|
||||
|
||||
Reference in New Issue
Block a user