diff options
author | August Skare <post@augustskare.no> | 2018-11-19 16:04:00 +0800 |
---|---|---|
committer | August Skare <post@augustskare.no> | 2018-11-19 16:04:00 +0800 |
commit | 62706d83c404efc55b076900be8e2b0150f9b470 (patch) | |
tree | c0135255ff8a1d76b91c7aa98b593a227ad3397b /packages/dev-tools-pages/ts/components | |
parent | 284252e7a49da4816c1fe4a9b4e58694b5a23c10 (diff) | |
download | dexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.tar dexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.tar.gz dexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.tar.bz2 dexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.tar.lz dexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.tar.xz dexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.tar.zst dexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.zip |
remove constructor from Code component
Diffstat (limited to 'packages/dev-tools-pages/ts/components')
-rw-r--r-- | packages/dev-tools-pages/ts/components/Code.tsx | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/packages/dev-tools-pages/ts/components/Code.tsx b/packages/dev-tools-pages/ts/components/Code.tsx index 3bf5506d6..1ddedb112 100644 --- a/packages/dev-tools-pages/ts/components/Code.tsx +++ b/packages/dev-tools-pages/ts/components/Code.tsx @@ -135,11 +135,6 @@ const CopyInput = StyledCopyInput as any; class Code extends React.Component<CodeProps, CodeState> { public state: CodeState = {}; private readonly _code = React.createRef<HTMLTextAreaElement>(); - - constructor(props: CodeProps) { - super(props); - } - public componentDidMount(): void { /* * _onMountAsync is only setting state, so no point in handling the promise |