Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
function getEditButton (url: string) {
return [
Markup.urlButton('Edit on carbon.now.sh', url, false)
]
}
const row = (repo) => [
Markup.urlButton(`${repo.owner}/${repo.name}`, `https://github.com/${repo.owner}/${repo.name}`),
Markup.callbackButton('🗑️', `editRepos:delete:${repo.owner}/${repo.name}`)
];