We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 529c896 commit 6b230e4Copy full SHA for 6b230e4
src/pages/counterPage/CounterPage.tsx
@@ -10,8 +10,8 @@ import Flex from '../../components/flex/Flex';
10
import useWriteableLocalstorageState from '../../hooks/useWriteableLocalstorageState';
11
12
const createCounter = (name = '', count = 0): Counter => ({
13
- name: '',
14
- count: 0
+ name,
+ count
15
});
16
17
const initialCounters: Counter[] = [createCounter('Count')];
0 commit comments