Results 2 comments of fl1k

Adding Environment to the Canvas causes the error

it happens because it is rendered on clientside, when your page loads it loads default breakpoint first and then it loads the actual breakpoint (useEffect hell)