fix: button colour

This commit is contained in:
eugene 2024-08-12 12:08:53 +03:00
parent 0d52cd7113
commit 4c04c12403

View File

@ -34,7 +34,8 @@ const MarkFormField = ({
isCurrentValueLast(currentUserMarks, selectedMark, selectedMarkValue)
const isCurrent = (currentMark: CurrentUserMark) =>
currentMark.id === selectedMark.id
const isDone = (currentMark: CurrentUserMark) => currentMark.isCompleted
const isDone = (currentMark: CurrentUserMark) =>
isCurrent(currentMark) ? !!selectedMarkValue : currentMark.isCompleted
const findNext = () => {
return (
currentUserMarks[selectedMark.id] ||
@ -50,6 +51,9 @@ const MarkFormField = ({
}
return (
<div className={styles.container}>
<div className={styles.trigger}>
<button></button>
</div>
<div className={styles.actions}>
<div className={styles.actionsWrapper}>
<div className={styles.actionsTop}>