Skip to content

Commit

Permalink
commit for testing (#6775)
Browse files Browse the repository at this point in the history
  • Loading branch information
SamantaTarun authored Mar 16, 2023
1 parent 44eb35e commit 5515155
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/notebook-extension/src/trusted.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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';

/**
Expand All @@ -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) {
Expand Down

0 comments on commit 5515155

Please sign in to comment.