Not able to load a next api with swr #808
ismaelrumzan
started this conversation in
General
Replies: 0 comments
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.
-
Hi,
I'm trying to set up an embed codesandbox for an API edge function code example.
It works in the sandbox here:
https://codesandbox.io/p/sandbox/hopeful-lake-4ncj08
When I try to use a similar example (JS version) in the code embed, I get
failed to load
in the preview. This is my code.Any suggestions?
Beta Was this translation helpful? Give feedback.
All reactions