mirror of
https://github.com/cpvalente/ontime.git
synced 2026-08-17 05:13:32 +00:00
refactor: timeline style tweaks
This commit is contained in:
committed by
Carlos Valente
parent
cdd021e76d
commit
0eaec1f88f
@@ -12,9 +12,7 @@ interface SectionProps {
|
||||
|
||||
export default memo(Section);
|
||||
|
||||
function Section(props: SectionProps) {
|
||||
const { category, content, title, status } = props;
|
||||
|
||||
function Section({ category, content, title, status }: SectionProps) {
|
||||
const sectionClasses = cx(['section', category === 'now' && 'section--now']);
|
||||
const contentClasses = cx(['section-content', content ? `section-content--${category}` : 'section-content--subdue']);
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user