Skip to content

Commit

Permalink
refactor(document-page-view-information.tsx): remove unnecessary dest…
Browse files Browse the repository at this point in the history
…ructuring of locale variable

style(schema.prisma): remove extra whitespace before the end of the line
  • Loading branch information
serge committed Feb 29, 2024
1 parent 86bad67 commit 41cdede
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down
2 changes: 1 addition & 1 deletion packages/prisma/schema.prisma
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ model User {
twoFactorSecret String?
twoFactorEnabled Boolean @default(false)
twoFactorBackupCodes String?
VerificationToken VerificationToken[]
ApiToken ApiToken[]
Template Template[]
Expand Down

0 comments on commit 41cdede

Please sign in to comment.