From 41cdedec57c5f23923e068894c7ad703252689e5 Mon Sep 17 00:00:00 2001 From: serge Date: Thu, 29 Feb 2024 09:02:11 +0000 Subject: [PATCH] refactor(document-page-view-information.tsx): remove unnecessary destructuring of locale variable style(schema.prisma): remove extra whitespace before the end of the line --- .../documents/[id]/document-page-view-information.tsx | 2 +- packages/prisma/schema.prisma | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx index 24a85baccd..954b9610aa 100644 --- a/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx +++ b/apps/web/src/app/(dashboard)/documents/[id]/document-page-view-information.tsx @@ -22,7 +22,7 @@ export const DocumentPageViewInformation = ({ }: DocumentPageViewInformationProps) => { const isMounted = useIsMounted(); - const { locale } = useLocale(); + const locale = useLocale(); const documentInformation = useMemo(() => { let createdValue = DateTime.fromJSDate(document.createdAt).toFormat('MMMM d, yyyy'); diff --git a/packages/prisma/schema.prisma b/packages/prisma/schema.prisma index 300c9e2385..82f26cb473 100644 --- a/packages/prisma/schema.prisma +++ b/packages/prisma/schema.prisma @@ -43,7 +43,7 @@ model User { twoFactorSecret String? twoFactorEnabled Boolean @default(false) twoFactorBackupCodes String? - + VerificationToken VerificationToken[] ApiToken ApiToken[] Template Template[]