Phoenix UX fixes (#1230)

This commit is contained in:
Karthik chakravarthy
2022-02-25 13:41:13 -05:00
committed by GitHub
parent f36a881679
commit 0a51e24b94
3 changed files with 12 additions and 4 deletions

View File

@@ -303,8 +303,8 @@ export class NotebookContentClient {
private getServerConfig(): ServerConfig {
const notebookServerInfo = useNotebook.getState().notebookServerInfo;
return {
endpoint: notebookServerInfo.notebookServerEndpoint,
token: notebookServerInfo.authToken,
endpoint: notebookServerInfo?.notebookServerEndpoint,
token: notebookServerInfo?.authToken,
crossDomain: true,
};
}