commit for testing (#6775)

This commit is contained in:
Tarun Samanta 2023-03-16 13:28:58 +05:30 committed by GitHub
parent 44eb35e2e5
commit 551515559b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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) {