diff --git a/client/package.json b/client/package.json index 0b06db40..bdda40dc 100644 --- a/client/package.json +++ b/client/package.json @@ -1,6 +1,6 @@ { "name": "statshammer", - "version": "1.0.0", + "version": "1.0.1", "private": true, "proxy": "http://localhost:5000/", "engines": { diff --git a/client/src/store/slices/target.ts b/client/src/store/slices/target.ts index ca924c3e..eec6edac 100644 --- a/client/src/store/slices/target.ts +++ b/client/src/store/slices/target.ts @@ -24,9 +24,8 @@ const removeTargetModifier = (state: ITargetStore, action: { payload: { index: n state.modifiers = state.modifiers.filter((_, i) => i !== index); }; -// eslint-disable-next-line @typescript-eslint/no-unused-vars -const clearAllTargetModifiers = (state: ITargetStore) => { - state = INITIAL_STATE; +const clearAllTargetModifiers = (): ITargetStore => { + return INITIAL_STATE; }; const moveTargetModifier = ( diff --git a/lerna.json b/lerna.json index 53dd95f2..8dc07cb8 100644 --- a/lerna.json +++ b/lerna.json @@ -3,6 +3,6 @@ "*", "." ], - "version": "1.0.0", + "version": "1.0.1", "npmClient": "yarn" } diff --git a/package.json b/package.json index ab40efe1..ff7c4bcd 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "statshammer-express", "private": true, - "version": "1.0.0", + "version": "1.0.1", "engines": { "node": "12.13.1", "yarn": "1.19.2"