️ remove document data from serverside properties

This commit is contained in:
Timur Ercan
2023-02-24 17:04:37 +01:00
parent b1519e147a
commit 3a3785de5b
3 changed files with 5 additions and 3 deletions

View File

@ -125,7 +125,7 @@ export async function getServerSideProps(context: any) {
return {
props: {
document: JSON.parse(JSON.stringify(document)),
document: JSON.parse(JSON.stringify({ ...document, document: "" })),
},
};
} catch (error) {