Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
quinn committed Mar 14, 2024
1 parent f275225 commit 844829b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
1 change: 0 additions & 1 deletion electron/main/models/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import { prisma } from '../prisma'

export async function upsertConfig(plaidClientId: string, plaidSecret: string) {
const payload = { plaidClientId, plaidSecret }
console.log('upsertConfig', payload)

const existingConfig = await prisma.config.findFirst()

Expand Down
2 changes: 0 additions & 2 deletions src/components/pages/SettingsPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ function SettingsForm({
}: {
defaultValues: { plaidClientId: string; plaidSecret: string }
}) {
console.log('SettingsForm', defaultValues)
const { mutateAsync } = trpc.createConfig.useMutation({})

const form = useForm<z.infer<typeof CreateConfigInput>>({
Expand Down Expand Up @@ -96,7 +95,6 @@ export function SettingsPage() {
plaidClientId: '',
plaidSecret: '',
}
// console.log('SettingsPage', defaultValues, data, rest)

return (
<div className="flex flex-col gap-12 p-8 w-1/2">
Expand Down

0 comments on commit 844829b

Please sign in to comment.