upgrade redwood to v 0.36

This commit is contained in:
Kurt Hutten
2021-08-31 20:12:18 +10:00
parent f5113da9c2
commit 01a28f4d53
12 changed files with 3052 additions and 3531 deletions

View File

@@ -2,7 +2,7 @@ import { useEffect, useState } from 'react'
import { useIdeContext } from 'src/helpers/hooks/useIdeContext'
import { makeCodeStoreKey, requestRender } from 'src/helpers/hooks/useIdeState'
import Editor, { useMonaco } from '@monaco-editor/react'
import { theme } from 'src/../tailwind.config'
import { theme } from 'src/../config/tailwind.config'
import { useSaveCode } from 'src/components/IdeWrapper/useSaveCode'
import type { CadPackage as CadPackageType } from 'src/helpers/hooks/useIdeState'
import CadPackage from '../CadPackage/CadPackage'

View File

@@ -3,7 +3,7 @@ import { TextField, FieldError } from '@redwoodjs/forms'
import { useFormContext } from 'react-hook-form'
const InputText = ({ type = 'text', className, name, validation }) => {
const { errors } = useFormContext()
const { formState: { errors } } = useFormContext()
return (
<>
<div className={getActiveClasses('relative inline-block', className)}>