File tree Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Expand file tree Collapse file tree 3 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -89,7 +89,7 @@ export class CreationModeSwitch extends React.Component<IModeSwitchProps> {
8989 try {
9090 currentLayout . removeWidget ( w ) ;
9191 } catch ( error : any ) {
92- console . log ( "Could not remove widget: " + w )
92+ console . log ( "Could not remove widget of cell : " + w . cell . id )
9393 console . log ( "Error: " + error )
9494 }
9595
Original file line number Diff line number Diff line change @@ -163,7 +163,7 @@ export class GradingModeSwitch extends React.Component<IModeSwitchProps> {
163163 try {
164164 currentLayout . removeWidget ( w ) ;
165165 } catch ( error : any ) {
166- console . log ( "Could not remove widget:" + w )
166+ console . log ( "Could not remove widget of cell :" + w . cell . id )
167167 console . log ( "Error: " + error )
168168 }
169169 }
Original file line number Diff line number Diff line change @@ -67,6 +67,7 @@ const FileItem = ({
6767 true
6868 ) as Promise < 'up_to_date' | 'push_needed' | 'divergent' > ,
6969 enabled : ! ! lecture && ! ! assignment ,
70+ staleTime : 3000
7071 } ;
7172
7273 const { data : fileRemoteStatus } = useQuery ( fileStatusQueryOptions ) ;
You can’t perform that action at this time.
0 commit comments