From a803435b27218e1394dbcbf2796867f20371669c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Tue, 29 Jan 2019 15:16:04 +0100 Subject: [PATCH] fixed prettier on switch component --- packages/grafana-ui/src/components/Switch/Switch.tsx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/packages/grafana-ui/src/components/Switch/Switch.tsx b/packages/grafana-ui/src/components/Switch/Switch.tsx index e775fdfa48b..feee58386b8 100644 --- a/packages/grafana-ui/src/components/Switch/Switch.tsx +++ b/packages/grafana-ui/src/components/Switch/Switch.tsx @@ -14,7 +14,8 @@ export interface Props { export interface State { id: any; } - export class Switch extends PureComponent { + +export class Switch extends PureComponent { state = { id: _.uniqueId(), };