You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using these files, while trying to deploy to Vercel I'm getting this error:
Type error: 'Navbar' cannot be used as a JSX component.
Its type '() => Promise' is not a valid JSX element type.
Type '() => Promise' is not assignable to type '(props: any, deprecatedLegacyContext?: any) => ReactNode'.
Type 'Promise' is not assignable to type 'ReactNode'.
24 |
25 |
Your workflows (preview.yaml, production.yaml) still use
actions/checkout@v2
instead ofactions/checkout@v4
.Also, the workflows specify the npm version
vercel@canary
. Why not usevercel@latest
?The text was updated successfully, but these errors were encountered: