mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
Webatrice: update deps (#4700)
* save work * fix reset styling * fix toast reducer * update non-react deps * update react libraries * remove jquery, use sanitize-html instead * add missing change * fix deps and dev deps * update workflow to target Node 16 * run @mui/codemod to remove @mui/styles * add default body font size * update react 17 to 18 * declare enum before use * add rel attr to links * fix font sizing issue * trailing commas * refactor deep destructuring Co-authored-by: Jeremy Letto <jeremy.letto@datasite.com>
This commit is contained in:
parent
5854a635ca
commit
26d7fe2ff0
17 changed files with 26225 additions and 3552 deletions
|
|
@ -27,7 +27,7 @@ export function useReduxEffect(
|
|||
const store = useStore();
|
||||
|
||||
const handleChange = (): void => {
|
||||
const state = store.getState();
|
||||
const state: any = store.getState();
|
||||
const action = state.action;
|
||||
const previousValue = currentValue.current;
|
||||
currentValue.current = action.count;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue