Error: values property should be an object effector-next

94 Views Asked by At

When I try to wrap the nextjs application in effector-next I get this error when the page loads

1

There are 1 best solutions below

0
Deni Askhabov On

I solved the problem. It was necessary to add the _document.tsx file to the pages folder with this content import Document from "next/document";

import { withFork } from "effector-next";

const enhance = withFork({ debug: false });

export default enhance(Document);