diff --git a/app/root.tsx b/app/root.tsx index 367f86ae..4d603f73 100644 --- a/app/root.tsx +++ b/app/root.tsx @@ -40,8 +40,8 @@ import { DropdownMenuTrigger, } from './components/ui/dropdown-menu.tsx' import { Icon, href as iconsHref } from './components/ui/icon.tsx' -import fontStylestylesheetUrl from './styles/font.css' -import tailwindStylesheetUrl from './styles/tailwind.css' +import fontStyleSheetUrl from './styles/font.css' +import tailwindStyleSheetUrl from './styles/tailwind.css' import { authenticator, getUserId } from './utils/auth.server.ts' import { ClientHintCheck, getHints, useHints } from './utils/client-hints.tsx' import { getConfetti } from './utils/confetti.server.ts' @@ -65,8 +65,8 @@ export const links: LinksFunction = () => { // Preload svg sprite as a resource to avoid render blocking { rel: 'preload', href: iconsHref, as: 'image' }, // Preload CSS as a resource to avoid render blocking - { rel: 'preload', href: fontStylestylesheetUrl, as: 'style' }, - { rel: 'preload', href: tailwindStylesheetUrl, as: 'style' }, + { rel: 'preload', href: fontStyleSheetUrl, as: 'style' }, + { rel: 'preload', href: tailwindStyleSheetUrl, as: 'style' }, cssBundleHref ? { rel: 'preload', href: cssBundleHref, as: 'style' } : null, { rel: 'mask-icon', href: '/favicons/mask-icon.svg' }, { @@ -82,8 +82,8 @@ export const links: LinksFunction = () => { } as const, // necessary to make typescript happy //These should match the css preloads above to avoid css as render blocking resource { rel: 'icon', type: 'image/svg+xml', href: '/favicons/favicon.svg' }, - { rel: 'stylesheet', href: fontStylestylesheetUrl }, - { rel: 'stylesheet', href: tailwindStylesheetUrl }, + { rel: 'stylesheet', href: fontStyleSheetUrl }, + { rel: 'stylesheet', href: tailwindStyleSheetUrl }, cssBundleHref ? { rel: 'stylesheet', href: cssBundleHref } : null, ].filter(Boolean) } diff --git a/app/routes/settings+/profile.tsx b/app/routes/settings+/profile.tsx index 71774799..09f7df2d 100644 --- a/app/routes/settings+/profile.tsx +++ b/app/routes/settings+/profile.tsx @@ -1,12 +1,12 @@ import { json, type DataFunctionArgs } from '@remix-run/node' import { Link, Outlet, useMatches } from '@remix-run/react' +import { z } from 'zod' import { Spacer } from '#app/components/spacer.tsx' import { Icon } from '#app/components/ui/icon.tsx' import { requireUserId } from '#app/utils/auth.server.ts' import { prisma } from '#app/utils/db.server.ts' import { cn, invariantResponse } from '#app/utils/misc.tsx' import { useUser } from '#app/utils/user.ts' -import { z } from 'zod' export const handle = { breadcrumb: Edit Profile, diff --git a/tests/db-utils.ts b/tests/db-utils.ts index 8f5062e1..32fb1d40 100644 --- a/tests/db-utils.ts +++ b/tests/db-utils.ts @@ -67,7 +67,7 @@ export async function getNoteImages() { }), img({ altText: - 'an office full of laptops and other office equipment that look like it was abandond in a rush out of the building in an emergency years ago.', + 'an office full of laptops and other office equipment that look like it was abandoned in a rush out of the building in an emergency years ago.', filepath: './tests/fixtures/images/notes/6.png', }), img({