add 'delete branch' function to frontend

This commit is contained in:
Eduard Heimbuch
2020-11-11 15:58:58 +01:00
parent bb82c18e2b
commit 20d2f6b5d5
12 changed files with 249 additions and 32 deletions

View File

@@ -62,11 +62,11 @@ export const ConfirmAlert: FC<Props> = ({ title, message, buttons, close }) => {
const footer = (
<div className="field is-grouped">
{buttons.map((button, i) => (
<p className="control">
{buttons.map((button, index) => (
<p className="control" key={index}>
<a
className={classNames("button", "is-info", button.className)}
key={i}
key={index}
onClick={() => handleClickButton(button)}
>
{button.label}