aboutsummaryrefslogtreecommitdiffstats
path: root/packages/instant
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-10-25 04:38:28 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-10-25 04:38:28 +0800
commitc7a063ca47c3a5b62fe070ba10055b575c1707de (patch)
tree101228d060051f0f9aba99679eb370beaaa4c195 /packages/instant
parent2d9c961d4f0d03cfd2f3c15dd306fad47ad1f259 (diff)
downloaddexon-sol-tools-c7a063ca47c3a5b62fe070ba10055b575c1707de.tar.gz
dexon-sol-tools-c7a063ca47c3a5b62fe070ba10055b575c1707de.tar.zst
dexon-sol-tools-c7a063ca47c3a5b62fe070ba10055b575c1707de.zip
fix: weird linting error that depends on types
Diffstat (limited to 'packages/instant')
-rw-r--r--packages/instant/src/components/scaling_input.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/instant/src/components/scaling_input.tsx b/packages/instant/src/components/scaling_input.tsx
index fd517def8..c927f9419 100644
--- a/packages/instant/src/components/scaling_input.tsx
+++ b/packages/instant/src/components/scaling_input.tsx
@@ -50,7 +50,7 @@ export class ScalingInput extends React.Component<ScalingInputProps, ScalingInpu
maxLength: 7,
scalingSettings: defaultScalingSettings,
};
- public state = {
+ public state: ScalingInputState = {
inputWidthPxAtPhaseChange: undefined,
};
private readonly _inputRef = React.createRef<HTMLInputElement>();