Upgrade to redwood v8

This commit is contained in:
Ahmed Al-Taiar
2024-09-05 12:07:22 -04:00
parent 3d031ca73c
commit 97db911c48
21 changed files with 2262 additions and 5986 deletions

View File

@@ -12,7 +12,7 @@ import type {
} from 'types/graphql'
import { TypedDocumentNode, useMutation } from '@redwoodjs/web'
import { toast } from '@redwoodjs/web/dist/toast'
import { toast } from '@redwoodjs/web/toast'
import Uploader from 'src/components/Uploader/Uploader'

View File

@@ -1,4 +1,5 @@
import { Toaster } from '@redwoodjs/web/dist/toast'
import { Toaster } from '@redwoodjs/web/toast'
import type { Toast } from '@redwoodjs/web/toast'
import ToastNotification from 'src/components/ToastNotification'
@@ -11,7 +12,7 @@ const ToasterWrapper = () => (
}}
gutter={8}
>
{(t) => (
{(t: Toast) => (
<ToastNotification t={t} type={t.type} message={t.message.toString()} />
)}
</Toaster>

View File

@@ -6,7 +6,7 @@ import type { UploadResult, Meta } from '@uppy/core'
import { Dashboard } from '@uppy/react'
import Tus from '@uppy/tus'
import { isProduction } from '@redwoodjs/api/dist/logger'
import { isProduction } from '@redwoodjs/api/logger'
import '@uppy/core/dist/style.min.css'
import '@uppy/dashboard/dist/style.min.css'