Aufi Fillah
Aufi Fillah
in my case, it was because of different version of next package in each workspace, for example im using `[email protected]` on the first workspace and using `[email protected]` on the second...
I was thinking the same before downgrading my next version, but when I saw both next versions using the same react version I guess I might give it a try....
 if u still having this issue, based on this snippets, u should query the schema first and call restore() afterwards. ``` const restored = await documentModel.findOneDeleted({ _id: id })...
for anyone that still having the issue, the DefaultLayout needs a worker like @codingwithashu reply: > No ,but this working > > https://react-pdf-viewer.dev/docs/getting-started/ > > pdfjs-dist version must be same...