File tree Expand file tree Collapse file tree 1 file changed +5
-0
lines changed
Servers/UI/OJS.Servers.Ui/ClientApp/src/pages/contests Expand file tree Collapse file tree 1 file changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -89,6 +89,8 @@ const ContestsPage = () => {
89
89
90
90
useEffect ( ( ) => {
91
91
if ( allContests && ! isNilOrEmpty ( allContests ) ) {
92
+ console . log ( 'allContests fetched' , allContests ) ;
93
+ console . log ( 'type of allContests fetched' , typeof allContests ) ;
92
94
dispatch ( setContests ( allContests ) ) ;
93
95
}
94
96
} , [ allContests , dispatch ] ) ;
@@ -105,6 +107,9 @@ const ContestsPage = () => {
105
107
if ( ! Array . isArray ( contests ?. items ) ) {
106
108
console . log ( 'The value of the contests is:' ) ;
107
109
console . log ( contests ) ;
110
+ console . log ( 'type of contests' , typeof contests ) ;
111
+ console . log ( 'allContests' , allContests ) ;
112
+ console . log ( 'type of allContests' , typeof allContests ) ;
108
113
return (
109
114
< Heading type = { HeadingType . secondary } className = { `${ textColorClassName } ${ styles . contestHeading } ` } >
110
115
The contests could not be loaded. If this problem persists, please contact an administrator.
You can’t perform that action at this time.
0 commit comments