[PageSpeed]: Clean console statement and run npm format

This commit is contained in:
Jesulayomy committed 2025-07-10 22:09:13 -04:00
1 parent b7b7687608
commit 2d587a7d1b
1 file changed
+6 -3
+6 -3
View File
@@ -132,7 +132,6 @@ const PageSpeedSetup = () => {
newErrors[err.path[0]] = err.message; newErrors[err.path[0]] = err.message;
}); });
setErrors(newErrors); setErrors(newErrors);
console.log(newErrors);
createToast({ body: t("checkFormError") }); createToast({ body: t("checkFormError") });
return; return;
} }
@@ -295,7 +294,9 @@ const PageSpeedSetup = () => {
> >
<Button <Button
onClick={handlePause} onClick={handlePause}
loading={isLoading || isCreating || isDeleting || isUpdating || isPausing} loading={
isLoading || isCreating || isDeleting || isUpdating || isPausing
}
variant="contained" variant="contained"
color="secondary" color="secondary"
sx={{ sx={{
@@ -323,7 +324,9 @@ const PageSpeedSetup = () => {
)} )}
</Button> </Button>
<Button <Button
loading={isLoading || isCreating || isDeleting || isUpdating || isPausing} loading={
isLoading || isCreating || isDeleting || isUpdating || isPausing
}
variant="contained" variant="contained"
color="error" color="error"
onClick={() => setIsOpen(true)} onClick={() => setIsOpen(true)}