diff options
Diffstat (limited to 'src/features/counter/Counter.jsx')
-rw-r--r-- | src/features/counter/Counter.jsx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/features/counter/Counter.jsx b/src/features/counter/Counter.jsx index d589bf9..b8453b2 100644 --- a/src/features/counter/Counter.jsx +++ b/src/features/counter/Counter.jsx @@ -8,17 +8,19 @@ export function Counter() { return ( <div> + <h1>{count}</h1> <div> <button aria-label="Increment value" onClick={() => dispatch(increment())} + className='btn btn-outline-primary' > Increment </button> - <span>{count}</span> <button aria-label="Decrement value" onClick={() => dispatch(decrement())} + className='btn btn-outline-primary' > Decrement </button> |