fix: saving alert doesn't disappear even its saved
saving alert doesn't disappear even if its saved and keep showing loading status
This commit is contained in:
@@ -87,7 +87,7 @@ const GradingSettings = ({ courseId }) => {
|
||||
setIsQueryPending(!isQueryPending);
|
||||
window.scrollTo({ top: 0, behavior: 'smooth' });
|
||||
}
|
||||
}, [savePending]);
|
||||
}, [savePending, savingStatus]);
|
||||
|
||||
if (isLoadingDenied) {
|
||||
return (
|
||||
|
||||
Reference in New Issue
Block a user