Skip to content

Commit 5515155

Browse files
authored
commit for testing (#6775)
1 parent 44eb35e commit 5515155

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

packages/notebook-extension/src/trusted.tsx

+1-3
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ import { Notebook, NotebookActions } from '@jupyterlab/notebook';
44

55
import { ITranslator } from '@jupyterlab/translation';
66

7-
import { toArray } from '@lumino/algorithm';
8-
97
import React, { useEffect, useState } from 'react';
108

119
/**
@@ -18,7 +16,7 @@ const isTrusted = (notebook: Notebook): boolean => {
1816
if (!model) {
1917
return false;
2018
}
21-
const cells = toArray(model.cells);
19+
const cells = Array.from(model.cells);
2220

2321
const trusted = cells.reduce((accum, current) => {
2422
if (current.trusted) {

0 commit comments

Comments
 (0)