(text: string)
| 59 | // or the exhausted-quota message. |
| 60 | const exhaustedTitleText = 'Daily session limit reached' |
| 61 | const wrappedRows = (text: string) => |
| 62 | Math.max(1, Math.ceil(text.length / contentMaxWidth)) |
| 63 | const BUTTON_ROWS = 3 // 2 border rows + label |
| 64 | const actionRows = isQuotaExhausted |
| 65 | ? wrappedRows(exhaustedTitleText) + wrappedRows(exhaustedMessageText) |
no outgoing calls
no test coverage detected