From 495e0d4518871e950afcd38d7d3afeb5477076dc Mon Sep 17 00:00:00 2001
From: Determinant <ted.sybil@gmail.com>
Date: Thu, 14 Feb 2019 23:59:16 -0500
Subject: finish migration

---
 src/Analyze.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/Analyze.tsx')

diff --git a/src/Analyze.tsx b/src/Analyze.tsx
index 8f55bd8..d3abcf4 100644
--- a/src/Analyze.tsx
+++ b/src/Analyze.tsx
@@ -20,7 +20,7 @@ import { Pattern, PatternEntry, PatternEntryFlat } from './pattern';
 import { AnalyzePieChart } from './Chart';
 import { getGraphData } from './graph';
 import PatternTable from './PatternTable';
-import Snackbar from './Snackbar';
+import Snackbar, { Variant } from './Snackbar';
 import AlertDialog from './Dialog';
 import moment from 'moment';
 
@@ -47,7 +47,7 @@ class Analyze extends React.Component<{classes: {buttonSpacer: string}}> {
         calendarGraphData: defaultChartData,
         snackBarOpen: false,
         snackBarMsg: 'unknown',
-        snackBarVariant: 'error',
+        snackBarVariant: 'error' as Variant,
         dialogOpen: false,
         dialogMsg: {title: '', message: ''},
         focusedInput: null as any
@@ -114,7 +114,7 @@ class Analyze extends React.Component<{classes: {buttonSpacer: string}}> {
             opt: MsgType.getCalEvents,
             data: { id,
                     start: start.getTime(),
-                end: end.getTime() }
+                    end: end.getTime() }
         });
         return data.map((_e: gapi.GCalendarEventFlat) => (
             gapi.GCalendarEvent.inflate(_e)
-- 
cgit v1.2.3

