File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed
Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -25,9 +25,7 @@ function BrndSportcenterToday({
2525 getTitle,
2626} ) {
2727 const [ currentDate , setCurrentDate ] = useState ( new Date ( ) ) ;
28- const {
29- title = "" ,
30- } = content ;
28+ const { title = "" } = content ;
3129
3230 /** Imports language strings, sets localized formats. */
3331 useEffect ( ( ) => {
@@ -58,7 +56,10 @@ function BrndSportcenterToday({
5856 } ;
5957
6058 useEffect ( ( ) => {
61- const dateAndTimeInterval = setInterval ( ( ) => setCurrentDate ( new Date ( ) ) , 1000 ) ;
59+ const dateAndTimeInterval = setInterval (
60+ ( ) => setCurrentDate ( new Date ( ) ) ,
61+ 1000
62+ ) ;
6263 return ( ) => clearInterval ( dateAndTimeInterval ) ;
6364 } , [ ] ) ;
6465
@@ -71,9 +72,7 @@ function BrndSportcenterToday({
7172 < Header className = "header" style = { templateRootStyle } >
7273 < HeaderDate className = "header-date" >
7374 { currentDate &&
74- capitalize (
75- dayjs ( ) . locale ( localeDa ) . format ( "dddd D. MMMM HH:mm" )
76- ) }
75+ capitalize ( dayjs ( ) . locale ( localeDa ) . format ( "dddd D. MMMM HH:mm" ) ) }
7776 </ HeaderDate >
7877 </ Header >
7978
Original file line number Diff line number Diff line change @@ -122,6 +122,7 @@ Brnd.propTypes = {
122122 layout : PropTypes . string ,
123123 image : PropTypes . arrayOf ( PropTypes . string ) ,
124124 fontSize : PropTypes . string ,
125+ resourceUnavailableText : PropTypes . string ,
125126 } ) . isRequired ,
126127 executionId : PropTypes . string . isRequired ,
127128} ;
Original file line number Diff line number Diff line change @@ -1724,4 +1724,4 @@ const slides = [
17241724 } ,
17251725] ;
17261726
1727- export default slides ;
1727+ export default slides ;
You can’t perform that action at this time.
0 commit comments