(message: string, title?: string, )
| 16 | } |
| 17 | |
| 18 | export function successToast(message: string, title?: string, ) { |
| 19 | return addToast({ |
| 20 | color: 'success', |
| 21 | title: title || 'Success!', |
| 22 | description: message |
| 23 | }) |
| 24 | } |
| 25 | |
| 26 | export function handleError(error: {message: string, status: number}) { |
| 27 | if (error.status === 500) { |
no outgoing calls
no test coverage detected
searching dependent graphs…