Replies: 1 comment 2 replies
-
|
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'm using redux with the newest version of nextjs and typescript. My store initializes an external sdk to set some thunk values. The problem is that said sdk depends on the window object so I was originally getting the window undefined error.
I fixed that by dynamially importing the sdk, but now I get a type error saying that the sdk method is not a constructor. Any help would be greatly appreciated
Beta Was this translation helpful? Give feedback.
All reactions