diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-07 22:19:02 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-07 22:19:02 -0700 |
commit | 49bf16e7d451388d894f93a994f3bf18571f9594 (patch) | |
tree | 1802bf775a0dd97503670c38ceb13d9aa78d95b6 /ui/src/components/main.tsx | |
parent | a61516439406b7884e19d9ae8a1875c728bbe628 (diff) |
Adding user details / overview page.
- Fixes #19
Diffstat (limited to 'ui/src/components/main.tsx')
-rw-r--r-- | ui/src/components/main.tsx | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx index b7b0a562..aa3c3a8c 100644 --- a/ui/src/components/main.tsx +++ b/ui/src/components/main.tsx @@ -1,13 +1,11 @@ -import { Component, linkEvent } from 'inferno'; +import { Component } from 'inferno'; import { Link } from 'inferno-router'; import { Subscription } from "rxjs"; import { retryWhen, delay, take } from 'rxjs/operators'; -import { UserOperation, Community as CommunityI, GetCommunityResponse, CommunityResponse, Post, GetPostsForm, ListingSortType, ListingType, GetPostsResponse, CreatePostLikeForm, CreatePostLikeResponse, CommunityUser, GetFollowedCommunitiesResponse } from '../interfaces'; +import { UserOperation, CommunityUser, GetFollowedCommunitiesResponse } from '../interfaces'; import { WebSocketService, UserService } from '../services'; -import { MomentTime } from './moment-time'; import { PostListings } from './post-listings'; -import { Sidebar } from './sidebar'; -import { msgOp, mdToHtml } from '../utils'; +import { msgOp } from '../utils'; interface State { subscribedCommunities: Array<CommunityUser>; @@ -20,7 +18,7 @@ export class Main extends Component<any, State> { subscribedCommunities: [] } - constructor(props, context) { + constructor(props: any, context: any) { super(props, context); this.state = this.emptyState; |