Skip to content

Commit 26b5854

Browse files
committed
Forgot to use return from config
1 parent b35841a commit 26b5854

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/index.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -312,7 +312,9 @@ function activate(app: JupyterFrontEnd): void {
312312
baseUrl + 'offlinenotebook/config',
313313
{},
314314
settings,
315-
);
315+
).then(async (response) => {
316+
offline.initialise(await response.json());
317+
});
316318
app.docRegistry.addWidgetExtension('Notebook', new OfflineNotebookButtons());
317319
}
318320

0 commit comments

Comments
 (0)