mirror of
https://github.com/documenso/documenso.git
synced 2025-11-10 04:22:32 +10:00
fix: remove console logs
This commit is contained in:
@ -54,8 +54,6 @@ export function BannerForm({ banner }: BannerFormProps) {
|
||||
});
|
||||
|
||||
const enabled = form.watch('enabled');
|
||||
const values = form.getValues();
|
||||
console.log({ values });
|
||||
|
||||
const { mutateAsync: updateSiteSetting, isLoading: isUpdateSiteSettingLoading } =
|
||||
trpcReact.admin.updateSiteSetting.useMutation();
|
||||
|
||||
@ -21,11 +21,13 @@ export const upsertSiteSetting = async ({
|
||||
enabled,
|
||||
data,
|
||||
lastModifiedByUserId: userId,
|
||||
lastModifiedAt: new Date(),
|
||||
},
|
||||
update: {
|
||||
enabled,
|
||||
data,
|
||||
lastModifiedByUserId: userId,
|
||||
lastModifiedAt: new Date(),
|
||||
},
|
||||
});
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user