смена текста у кнопки опубликовать
This commit is contained in:
parent
36c907d990
commit
9b47cd018c
@ -457,7 +457,7 @@ export default function EditPage() {
|
||||
fontSize: "14px",
|
||||
lineHeight: "18px",
|
||||
height: "34px",
|
||||
background: buttonText === "Опубликовано" ? "#FA5B0E" : "#7E2AEA",
|
||||
background: quiz?.status === "start" ? "#7E2AEA" : "#FA5B0E",
|
||||
}}
|
||||
onClick={handleClickStatusQuiz}
|
||||
>
|
||||
|
Loading…
Reference in New Issue
Block a user