From 551515559b83316655fae6fe620912ef8516c8fb Mon Sep 17 00:00:00 2001 From: Tarun Samanta <55488549+tarunsamanta2k20@users.noreply.github.com> Date: Thu, 16 Mar 2023 13:28:58 +0530 Subject: [PATCH] commit for testing (#6775) --- packages/notebook-extension/src/trusted.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/notebook-extension/src/trusted.tsx b/packages/notebook-extension/src/trusted.tsx index 53e77b1f6..cec67ad9f 100644 --- a/packages/notebook-extension/src/trusted.tsx +++ b/packages/notebook-extension/src/trusted.tsx @@ -4,8 +4,6 @@ import { Notebook, NotebookActions } from '@jupyterlab/notebook'; import { ITranslator } from '@jupyterlab/translation'; -import { toArray } from '@lumino/algorithm'; - import React, { useEffect, useState } from 'react'; /** @@ -18,7 +16,7 @@ const isTrusted = (notebook: Notebook): boolean => { if (!model) { return false; } - const cells = toArray(model.cells); + const cells = Array.from(model.cells); const trusted = cells.reduce((accum, current) => { if (current.trusted) {