Context for keeping track of errors from the server
| 2 | |
| 3 | /** Context for keeping track of errors from the server */ |
| 4 | interface ServerErrorsContextProps { |
| 5 | [key: string]: string |
| 6 | } |
| 7 | |
| 8 | export const ServerErrorsContext = React.createContext( |
| 9 | {} as ServerErrorsContextProps, |
nothing calls this directly
no outgoing calls
no test coverage detected