aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAugust Skare <post@augustskare.no>2018-11-19 16:04:00 +0800
committerAugust Skare <post@augustskare.no>2018-11-19 16:04:00 +0800
commit62706d83c404efc55b076900be8e2b0150f9b470 (patch)
treec0135255ff8a1d76b91c7aa98b593a227ad3397b
parent284252e7a49da4816c1fe4a9b4e58694b5a23c10 (diff)
downloaddexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.tar.gz
dexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.tar.zst
dexon-sol-tools-62706d83c404efc55b076900be8e2b0150f9b470.zip
remove constructor from Code component
-rw-r--r--packages/dev-tools-pages/ts/components/Code.tsx5
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