代码问题代码不是运行,我无法解决问题

code problem code not run and i can't solve the problem

hi everyone my code not work and i don't know the problem . thank you

您需要从 Counter.js 的第 7 行中删除 { } 并将其替换为以下行:

const value = useSelector(state  => state.Counter)