File tree Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Expand file tree Collapse file tree 2 files changed +12
-3
lines changed Original file line number Diff line number Diff line change 100100 }
101101
102102 onMount (() => {
103+ console .debug (" GamePage: onMount" );
104+ debugger ;
103105 const unsubscribers: svelteStore .Unsubscriber [] = [];
104106
105107 // Update the URL path when the area center changes
193195 value &&
194196 value .status === " complete" &&
195197 ! $nextQuestion &&
196- $gameRound &&
197- $gameRound . status !== " completed"
198+ $gameRoundStatus &&
199+ $gameRoundStatus !== " completed"
198200 ) {
199201 gameRound .update ((value ) => {
200202 if (! value ) {
201203 throw new Error (" round is falsy" );
202204 }
203205 return {
204206 ... value ,
205- status: $gameRound . status ,
207+ status: $gameRoundStatus ,
206208 };
207209 });
208210 }
Original file line number Diff line number Diff line change @@ -38,6 +38,13 @@ export default async ({
3838 radius : number ;
3939 userOrganization : UserOrganization | null ;
4040} ) => {
41+ console . debug ( "loadRound" , {
42+ areaSelection,
43+ difficulty,
44+ isOrganizationUrl,
45+ numberOfQuestions,
46+ userOrganization,
47+ } ) ;
4148 isLoading . set ( true ) ;
4249
4350 if ( ! getRandomNumber ) {
You can’t perform that action at this time.
0 commit comments