iteria-app / material-ui-starter

We are testing Iteria Lowcode using Material-UI components
https://demo.iteria.tech
MIT License
1 stars 18 forks source link

Build-failed-due-to-warnings-#17 WIP #36

Closed ghost closed 3 years ago

ghost commented 3 years ago

I changed there too. (issue in main) import sk from './compiled-lang/sk.json', import sk from './compiled-lang/sk.json';

Two alerts remain. Check src\views\customer\CustomerListView\UpdateCustomer.tsx. I'll try later

Compiled with warnings.

src\views\customer\CustomerListView\UpdateCustomer.tsx Line 34:10: 'state' is assigned a value but never used @typescript-eslint/no-unused-vars Line 50:6: React Hook React.useCallback has missing dependencies: 'customer?.email', 'customer?.id', 'customer?.name', 'customer?.phone', 'executeMutation', 'handleClose', 'newEmail', 'newName', and 'newPhoneNumber'. Either include them or remove the dependency array. If 'handleClose' changes too often, find the parent component that defines it and wrap that definition in useCallback react-hooks/exhaustive-deps