Skip to content

Fix withData.tsx #872

@Arashfa0301

Description

@Arashfa0301

Per today, if one wishes to make a custom page with independent from the data from admin page, one cannot. The reason being one has to pass the page component through the withDataAndLayout function with in turn does some server stuff in withData that makes it possible for one to have a custom page working as intended.

From debugging we have found that the function that has to be fixed is static async getInitialProps. It maybe has to run on the server.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions