presetup: add button to delete log channels

This commit is contained in:
Dragory 2021-01-20 22:45:25 +02:00
parent 635156d2f5
commit 7925f516b8
No known key found for this signature in database
GPG key ID: 5F387BA66DF8AAC1

View file

@ -164,6 +164,7 @@ export function LogChannels({ logChannels, setLogChannels }: Props) {
</label> </label>
))} ))}
</div> </div>
<button onClick={() => deleteLogChannel(index)}>Delete</button>
</div> </div>
))} ))}
<button onClick={() => addLogChannel()}>Add</button> <button onClick={() => addLogChannel()}>Add</button>