Hi, I’m kind of new to forge development and trying to use @forge/bridge router.open(https://google.com) method to open a new window. However, every time in forge deploy it throws an error in the snapshot stage Error: Error thrown in the snapshot context. App code snapshot error: Snapshot error occurred: Error: window is not defined
. I already tried using useEffect and other suggested solutions without luck. This is my code snippet:
Apologize in advance if this is some kind of silly doubt…