Showing
3 changed files
with
2 additions
and
5 deletions
| 1 | -import { useContext } from "react"; | ||
| 2 | - | ||
| 3 | -import { CalendarStateContext } from "../pages/Calendar"; | ||
| 4 | import zoomSymbol from "../assets/zoom.png"; | 1 | import zoomSymbol from "../assets/zoom.png"; |
| 5 | import ecampusSymbol from "../assets/e-Campus.png"; | 2 | import ecampusSymbol from "../assets/e-Campus.png"; |
| 6 | 3 | ||
| ... | @@ -32,7 +29,7 @@ const ScheduleItem = ({ schedule }) => { | ... | @@ -32,7 +29,7 @@ const ScheduleItem = ({ schedule }) => { |
| 32 | }; | 29 | }; |
| 33 | 30 | ||
| 34 | return ( | 31 | return ( |
| 35 | - <div className="ScheduleItem" style={{ borderColor: subjectColor }}> | 32 | + <div className="ScheduleItem" style={{ borderColor: "#" + subjectColor }}> |
| 36 | <img className="s_symbol" src={selectSymbol()} alt="404" /> | 33 | <img className="s_symbol" src={selectSymbol()} alt="404" /> |
| 37 | {startTime && ( | 34 | {startTime && ( |
| 38 | <span className="s_start">{startTime[0] + ":" + startTime[1]}</span> | 35 | <span className="s_start">{startTime[0] + ":" + startTime[1]}</span> | ... | ... |
-
Please register or login to post a comment