Skip to content
This repository has been archived by the owner on May 9, 2022. It is now read-only.

Commit

Permalink
fix fetch
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathansick committed Mar 30, 2022
1 parent 7dab0c3 commit 862c700
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion components/notebookIframe.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,10 @@ function useHtmlStatus({ htmlStatusUrl, parameters }) {
const fetcher = (...args) =>
fetch(...args)
.then((res) => res.json())
.then((data) => console.log(data));
.then((data) => {
console.log(data);
return data;
});

export default function NotebookIframeContainer({
tsHtmlUrl,
Expand Down

0 comments on commit 862c700

Please sign in to comment.