import { useAppDispatch, useAppSelector } from '@/store/hooks'; import { selectCount, decremented, incremented, } from '@/store/feature/appSlice'; import { deleteUser, getUserData, selectUser } from '@/store/feature/userSlice'; import classNames from 'classnames/bind'; import styles from './index.module.scss'; const cx = classNames.bind(styles); function ReduxToolkitDemo() { const count = useAppSelector(selectCount); const users = useAppSelector(selectUser); const dispatch = useAppDispatch(); return ( <>