Skip to content

Commit

Permalink
upgrade to latest remix-utils
Browse files Browse the repository at this point in the history
  • Loading branch information
kentcdodds committed Oct 12, 2023
1 parent 944917b commit 605c029
Show file tree
Hide file tree
Showing 10 changed files with 57 additions and 342 deletions.
2 changes: 1 addition & 1 deletion app/components/confetti.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Index as ConfettiShower } from 'confetti-react'
import { ClientOnly } from 'remix-utils'
import { ClientOnly } from 'remix-utils/client-only'

export function Confetti({ id }: { id?: string | null }) {
if (!id) return null
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_auth+/login.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import {
type MetaFunction,
} from '@remix-run/node'
import { Form, Link, useActionData, useSearchParams } from '@remix-run/react'
import { safeRedirect } from 'remix-utils'
import { safeRedirect } from 'remix-utils/safe-redirect'
import { z } from 'zod'
import { GeneralErrorBoundary } from '#app/components/error-boundary.tsx'
import { CheckboxField, ErrorList, Field } from '#app/components/forms.tsx'
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_auth+/onboarding.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
useLoaderData,
useSearchParams,
} from '@remix-run/react'
import { safeRedirect } from 'remix-utils'
import { safeRedirect } from 'remix-utils/safe-redirect'
import { z } from 'zod'
import { CheckboxField, ErrorList, Field } from '#app/components/forms.tsx'
import { Spacer } from '#app/components/spacer.tsx'
Expand Down
2 changes: 1 addition & 1 deletion app/routes/_auth+/onboarding_.$provider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
useSearchParams,
type Params,
} from '@remix-run/react'
import { safeRedirect } from 'remix-utils'
import { safeRedirect } from 'remix-utils/safe-redirect'
import { z } from 'zod'
import { CheckboxField, ErrorList, Field } from '#app/components/forms.tsx'
import { Spacer } from '#app/components/spacer.tsx'
Expand Down
2 changes: 1 addition & 1 deletion app/utils/auth.server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { type Connection, type Password, type User } from '@prisma/client'
import { redirect } from '@remix-run/node'
import bcrypt from 'bcryptjs'
import { Authenticator } from 'remix-auth'
import { safeRedirect } from 'remix-utils'
import { safeRedirect } from 'remix-utils/safe-redirect'
import { connectionSessionStorage, providers } from './connections.server.ts'
import { prisma } from './db.server.ts'
import { combineHeaders, downloadFile } from './misc.tsx'
Expand Down
1 change: 0 additions & 1 deletion other/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ FROM base as deps
WORKDIR /myapp

ADD package.json package-lock.json .npmrc ./
ADD ./other/patches ./other/patches
RUN npm install --include=dev

# Setup production node_modules
Expand Down
19 changes: 0 additions & 19 deletions other/patches/remix-utils+6.6.0.patch

This file was deleted.

Loading

0 comments on commit 605c029

Please sign in to comment.