mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: remove logs
This commit is contained in:
@@ -77,7 +77,6 @@ export const ComposeFileEditor = ({ composeId }: Props) => {
|
|||||||
});
|
});
|
||||||
})
|
})
|
||||||
.catch((e) => {
|
.catch((e) => {
|
||||||
console.log(e);
|
|
||||||
toast.error("Error to update the compose config");
|
toast.error("Error to update the compose config");
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -145,7 +145,6 @@ export const ProfileForm = () => {
|
|||||||
<FormControl>
|
<FormControl>
|
||||||
<RadioGroup
|
<RadioGroup
|
||||||
onValueChange={(e) => {
|
onValueChange={(e) => {
|
||||||
console.log(e);
|
|
||||||
field.onChange(e);
|
field.onChange(e);
|
||||||
}}
|
}}
|
||||||
defaultValue={field.value}
|
defaultValue={field.value}
|
||||||
|
|||||||
@@ -10,7 +10,6 @@ interface Props {
|
|||||||
|
|
||||||
export default function Custom404({ statusCode, error }: Props) {
|
export default function Custom404({ statusCode, error }: Props) {
|
||||||
const displayStatusCode = statusCode || 400;
|
const displayStatusCode = statusCode || 400;
|
||||||
console.log(error, statusCode);
|
|
||||||
return (
|
return (
|
||||||
<div className="h-screen">
|
<div className="h-screen">
|
||||||
<div className="max-w-[50rem] flex flex-col mx-auto size-full">
|
<div className="max-w-[50rem] flex flex-col mx-auto size-full">
|
||||||
@@ -92,7 +91,6 @@ export default function Custom404({ statusCode, error }: Props) {
|
|||||||
|
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
Error.getInitialProps = ({ res, err, ...rest }: NextPageContext) => {
|
Error.getInitialProps = ({ res, err, ...rest }: NextPageContext) => {
|
||||||
console.log(err, rest);
|
|
||||||
const statusCode = res ? res.statusCode : err ? err.statusCode : 404;
|
const statusCode = res ? res.statusCode : err ? err.statusCode : 404;
|
||||||
return { statusCode, error: err };
|
return { statusCode, error: err };
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user