Skip to content

Commit

Permalink
import cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
sbittrich committed Jan 29, 2024
1 parent 1e963ea commit 7d0c0f5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/viewer/ui/strucmotif.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ import {
ResidueSelection,
uploadStructure
} from './strucmotif/helpers';
import * as React from 'react';
import { JSX } from 'react';

const ABSOLUTE_ADVANCED_SEARCH_URL = 'https://rcsb.org/search?query=';
const RELATIVE_ADVANCED_SEARCH_URL = '/search?query=';
Expand Down Expand Up @@ -226,7 +226,7 @@ class SubmitControls extends PurePluginUIComponent<{}, { isBusy: boolean, residu
add() {
const history = this.plugin.managers.structure.selection.additionsHistory;

const entries: React.JSX.Element[] = [];
const entries: JSX.Element[] = [];
for (let i = 0, _i = Math.min(history.length, 10); i < _i; i++) {
let residue: Residue;
if (this.state.residueMap.has(history[i])) {
Expand Down

0 comments on commit 7d0c0f5

Please sign in to comment.