Skip to content

Commit d0c13a2

Browse files
committed
Add selectors
1 parent d901964 commit d0c13a2

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/features/counter/selectors.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import { SystemState } from './types'
2+
3+
export const getCountValue = (state: SystemState) => state.count.value

0 commit comments

Comments
 (0)