Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix typos #453

Merged
merged 3 commits into from
Sep 18, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 6 additions & 6 deletions app/root.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand All @@ -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' },
{
Expand All @@ -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)
}
Expand Down
2 changes: 1 addition & 1 deletion app/routes/settings+/profile.tsx
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
import { json, type DataFunctionArgs } from '@remix-run/node'
import { Link, Outlet, useMatches } from '@remix-run/react'
import { z } from 'zod'
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was a eslint issue I saw in github

Screenshot 2023-09-18 at 9 07 36 AM

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: <Icon name="file-text">Edit Profile</Icon>,
Expand Down
2 changes: 1 addition & 1 deletion tests/db-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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.',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fixed simple typo.

filepath: './tests/fixtures/images/notes/6.png',
}),
img({
Expand Down