diff options
author | Determinant <ted.sybil@gmail.com> | 2019-02-18 01:13:04 -0500 |
---|---|---|
committer | Determinant <ted.sybil@gmail.com> | 2019-02-18 01:13:04 -0500 |
commit | 63fe414b6bf556fcc69e7065cfe96a642e54cf7f (patch) | |
tree | 25abd8da3a253e3d38d71557b1ba567bb47f0d19 /src/Analyze.tsx | |
parent | 3a2ae559de061500a7b06c07b3cc09422f7ce48c (diff) |
use nivo charts
Diffstat (limited to 'src/Analyze.tsx')
-rw-r--r-- | src/Analyze.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Analyze.tsx b/src/Analyze.tsx index 4e2df49..cf87cb3 100644 --- a/src/Analyze.tsx +++ b/src/Analyze.tsx @@ -113,7 +113,7 @@ class Analyze extends React.Component<AnalyzeProps> { this.loadPatterns(patterns); }; - async getCalEvents(id: string, start: Date, end: Date): Promise<gapi.GCalendarEvent[]> { + getCalEvents = async (id: string, start: Date, end: Date): Promise<gapi.GCalendarEvent[]> => { let { data } = await this.msgClient.sendMsg({ opt: MsgType.getCalEvents, data: { id, |