Type ‘{ path: string; render: () => Element; }’ is not assignable to type ‘IntrinsicAttributes & (PathRouteProps | LayoutRouteProps | IndexRouteProps)’.
Property ‘render’ does not exist on type ‘IntrinsicAttributes & (PathRouteProps | LayoutRouteProps | IndexRouteProps)’.
Type ‘{ path: string; render: () => Element; }’ is not assignable to type ‘IntrinsicAttributes & (PathRouteProps | LayoutRouteProps | IndexRouteProps)’.
Property ‘render’ does not exist on type ‘IntrinsicAttributes & (PathRouteProps | LayoutRouteProps | IndexRouteProps)’.
13 |
14 |
> 15 | <Route path=“/plasmic-host” render={() => } />
| ^^^^^^
16 |
17 |
18 | );
I keep getting this error, I copied the layout in plasmic app, I just needed to understand why I am getting this error