Skip to content
Snippets Groups Projects
Commit 389e2498 authored by Alexander Rose's avatar Alexander Rose
Browse files

use PurePluginUIComponent for Residue

parent cfcf9f68
No related branches found
No related tags found
No related merge requests found
......@@ -7,7 +7,7 @@
import * as React from 'react'
import { Structure, StructureSequence, Queries, StructureSelection, StructureProperties as SP, StructureQuery, StructureElement, Unit } from '../../mol-model/structure';
import { PluginUIComponent } from './base';
import { PluginUIComponent, PurePluginUIComponent } from './base';
import { StateTreeSpine } from '../../mol-state/tree/spine';
import { PluginStateObject as SO } from '../state/objects';
import { Interactivity } from '../util/interactivity';
......@@ -240,7 +240,7 @@ class EntitySequence extends PluginUIComponent<EntitySequenceProps, EntitySequen
}
}
class Residue extends PluginUIComponent<{ seqId: number, letter: string, parent: EntitySequence, marker: number }> {
class Residue extends PurePluginUIComponent<{ seqId: number, letter: string, parent: EntitySequence, marker: number }> {
mouseEnter = (e: React.MouseEvent) => {
const modifiers = getModifiers(e.nativeEvent)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment