diff --git a/packages/app-js/src/ActionButtons.tsx b/packages/app-js/src/ActionButtons.tsx index 19d7e195a7..4d385dc34e 100644 --- a/packages/app-js/src/ActionButtons.tsx +++ b/packages/app-js/src/ActionButtons.tsx @@ -6,7 +6,7 @@ import { BareProps, I18nProps } from '@polkadot/ui-app/types'; import React from 'react'; import { Button as SUIB, Popup } from 'semantic-ui-react'; -import { Button, Input, TxComponent } from '@polkadot/ui-app'; +import { Button, Input } from '@polkadot/ui-app'; import translate from './translate'; @@ -27,7 +27,7 @@ type State = { snippetName: string }; -class ActionButtons extends TxComponent { +class ActionButtons extends React.PureComponent { state: State = { isOpen: false, shareText: this.props.t('Generate link to share code example'), @@ -59,7 +59,7 @@ class ActionButtons extends TxComponent { // FIXME: The event trigger on='hover' does not work together with the ui-app' //