Javascript Getting Error While Using Window Ethereum In Next Js With

Javascript Getting Error While Using Window Ethereum In Next Js With