fix: always truthy title
parent
1804e19a98
commit
16ef9bf3e7
|
|
@ -29,9 +29,9 @@ export default function MaintenanceAlert({
|
||||||
title={
|
title={
|
||||||
(
|
(
|
||||||
<span style={titleStyle} onClick={updateHash}>
|
<span style={titleStyle} onClick={updateHash}>
|
||||||
{maintenance.title}
|
{maintenance.title || 'Scheduled Maintenance'}
|
||||||
</span>
|
</span>
|
||||||
) || 'Scheduled Maintenance'
|
)
|
||||||
}
|
}
|
||||||
color={maintenance.color || 'yellow'}
|
color={maintenance.color || 'yellow'}
|
||||||
withCloseButton={false}
|
withCloseButton={false}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue