feat: add dynamic position to editable cards, reject/authorize buttons

This commit is contained in:
José Oliveira 2021-10-18 13:42:55 +01:00
parent a8f1c50d07
commit 421543f0c7

View file

@ -123,7 +123,6 @@ const EditableCard = ({
[classes.label1Rejected]: state === OVERRIDE_REJECTED,
[classes.label1Accepted]: state === OVERRIDE_AUTHORIZED
}
const authorized =
state === OVERRIDE_PENDING
? { label: 'Pending', type: 'neutral' }