Skip to content

Commit

Permalink
fix(settings): remove console logs
Browse files Browse the repository at this point in the history
  • Loading branch information
hanpuliu-charles committed Jul 26, 2024
1 parent 7651aaf commit a0fe828
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions apps/studio/src/pages/sites/[siteId]/settings.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ const SiteSettingsPage: NextPageWithLayout = () => {
},
onError: (error) => {
// TODO: Remove the console when done
console.log(error)
toast({
title: "Error saving site settings!",
description:
Expand All @@ -65,8 +64,6 @@ const SiteSettingsPage: NextPageWithLayout = () => {
siteId,
})

console.log("previous notificion", previousNotification)

const { register, handleSubmit, watch, formState, reset } = useZodForm({
schema: setNotificationSchema
.extend({ notificationEnabled: z.boolean() })
Expand Down Expand Up @@ -119,7 +116,6 @@ const SiteSettingsPage: NextPageWithLayout = () => {
},
)

console.log("errors", errors)
return (
<>
<UnsavedSettingModal
Expand Down

0 comments on commit a0fe828

Please sign in to comment.