From c6dece6bd1e5f5afa56b290557eb7a6245c76cb6 Mon Sep 17 00:00:00 2001
From: Fabio Berger <me@fabioberger.com>
Date: Tue, 30 Jan 2018 13:26:46 +0100
Subject: Add config file specifically in prettier command and fix files

---
 .../website/ts/components/ui/flash_message.tsx     | 52 +++++++++++-----------
 1 file changed, 26 insertions(+), 26 deletions(-)

(limited to 'packages/website/ts/components/ui/flash_message.tsx')

diff --git a/packages/website/ts/components/ui/flash_message.tsx b/packages/website/ts/components/ui/flash_message.tsx
index 57a66d21f..2cb1fc764 100644
--- a/packages/website/ts/components/ui/flash_message.tsx
+++ b/packages/website/ts/components/ui/flash_message.tsx
@@ -6,35 +6,35 @@ import { Dispatcher } from 'ts/redux/dispatcher';
 const SHOW_DURATION_MS = 4000;
 
 interface FlashMessageProps {
-	dispatcher: Dispatcher;
-	flashMessage?: string | React.ReactNode;
-	showDurationMs?: number;
-	bodyStyle?: React.CSSProperties;
+    dispatcher: Dispatcher;
+    flashMessage?: string | React.ReactNode;
+    showDurationMs?: number;
+    bodyStyle?: React.CSSProperties;
 }
 
 interface FlashMessageState {}
 
 export class FlashMessage extends React.Component<FlashMessageProps, FlashMessageState> {
-	public static defaultProps: Partial<FlashMessageProps> = {
-		showDurationMs: SHOW_DURATION_MS,
-		bodyStyle: {},
-	};
-	public render() {
-		if (!_.isUndefined(this.props.flashMessage)) {
-			return (
-				<Snackbar
-					open={true}
-					message={this.props.flashMessage}
-					autoHideDuration={this.props.showDurationMs}
-					onRequestClose={this._onClose.bind(this)}
-					bodyStyle={this.props.bodyStyle}
-				/>
-			);
-		} else {
-			return null;
-		}
-	}
-	private _onClose() {
-		this.props.dispatcher.hideFlashMessage();
-	}
+    public static defaultProps: Partial<FlashMessageProps> = {
+        showDurationMs: SHOW_DURATION_MS,
+        bodyStyle: {},
+    };
+    public render() {
+        if (!_.isUndefined(this.props.flashMessage)) {
+            return (
+                <Snackbar
+                    open={true}
+                    message={this.props.flashMessage}
+                    autoHideDuration={this.props.showDurationMs}
+                    onRequestClose={this._onClose.bind(this)}
+                    bodyStyle={this.props.bodyStyle}
+                />
+            );
+        } else {
+            return null;
+        }
+    }
+    private _onClose() {
+        this.props.dispatcher.hideFlashMessage();
+    }
 }
-- 
cgit v1.2.3

