This commit is contained in:
killian-larcher
2024-11-11 19:21:13 +01:00
parent 262322cfa6
commit baf69c0295
2 changed files with 6 additions and 21 deletions
@@ -26,7 +26,7 @@ export const deleteUserAction = userAction
userId: ctx.user.id, userId: ctx.user.id,
} }
}) })
if(account){ if (account) {
await prisma.account.delete({ await prisma.account.delete({
where: { where: {
id: account.id id: account.id
+5 -20
View File
@@ -2,17 +2,8 @@ import {twx} from "@/lib/twx";
import {cn} from "@/lib/utils"; import {cn} from "@/lib/utils";
<<<<<<< HEAD
export const Page = twx.div((props) => [ export const Page = twx.div((props) => [
cn(`flex flex-col h-full px-10 py-6`, props.className), cn(`flex flex-col h-full px-10 py-6`, props.className)
=======
export const PageHeader = twx.div((props)=>[
cn(`flex justify-between`, props.className),
])
export const PageTitle = twx.h1((props)=>[
cn(`text-3xl font-bold mb-6`, props.className),
>>>>>>> origin/main
]) ])
@@ -31,17 +22,11 @@ export const PageDescription = twx.h2((props) => [
]) ])
<<<<<<< HEAD
export const PageActions = twx.h1((props) => [ export const PageActions = twx.h1((props) => [
cn(`flex gap-4 h-fit`, props.className), cn(`flex gap-4 h-fit`, props.className),
]) ]
)
export const PageContent = twx.div((props) => [ export const PageContent = twx.div((props) => [
cn(`h-full`, props.className), cn(`h-full`, props.className)
=======
export const PageActions = twx.h1((props)=>[
cn(`flex gap-4`, props.className),
>>>>>>> origin/main
]) ])