(newAppState: Partial<DrawnixState>)
| 97 | } |
| 98 | |
| 99 | const updateAppState = (newAppState: Partial<DrawnixState>) => { |
| 100 | setAppState((currentAppState) => ({ |
| 101 | ...currentAppState, |
| 102 | ...newAppState, |
| 103 | })); |
| 104 | }; |
| 105 | |
| 106 | const plugins: PlaitPlugin[] = [ |
| 107 | withDraw, |
no outgoing calls
no test coverage detected