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 #48

Closed ghost closed 4 months ago

ghost commented 3 years ago

I solved all 11 warnings except these two. I wrote @chvister if he can fix it


  Line 33:10:  'state' is assigned a value but never used
                                                                                                                                                                                             @typescript-eslint/no-unused-vars                                                                                                                                                                                        'newPhoneNumber'. Either include them or remove the depend
  Line 49: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```