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
Can you help me fix the error in this code from the last update app/categories/[slug]/layout.tsx
Type error: Type 'Readonly<{ children: ReactNode; params: { slug: string; }; }>' does not satisfy the constraint 'LayoutProps'.
Types of property 'params' are incompatible.
Type '{ slug: string; }' is missing the following properties from type 'Promise': then, catch, finally, [Symbol.toStringTag]
The text was updated successfully, but these errors were encountered:
Can you help me fix the error in this code from the last update app/categories/[slug]/layout.tsx
Type error: Type 'Readonly<{ children: ReactNode; params: { slug: string; }; }>' does not satisfy the constraint 'LayoutProps'.
Types of property 'params' are incompatible.
Type '{ slug: string; }' is missing the following properties from type 'Promise': then, catch, finally, [Symbol.toStringTag]
The text was updated successfully, but these errors were encountered: