summaryrefslogtreecommitdiffstats
path: root/ui/src/components/main.tsx
diff options
context:
space:
mode:
authorDessalines <tyhou13@gmx.com>2020-03-04 22:35:55 -0500
committerDessalines <tyhou13@gmx.com>2020-03-04 22:35:55 -0500
commitc999579c05ded42ea6ec68753d59b288123cc652 (patch)
tree831ce316ebdbd9c113dde3a5c7b29c53760ddbae /ui/src/components/main.tsx
parentd14504763a90d9cc1bf91229ca0dde28a92a6bbc (diff)
Better tippy loading. Fixes #577
Diffstat (limited to 'ui/src/components/main.tsx')
-rw-r--r--ui/src/components/main.tsx2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/src/components/main.tsx b/ui/src/components/main.tsx
index 85fa5d33..ee028151 100644
--- a/ui/src/components/main.tsx
+++ b/ui/src/components/main.tsx
@@ -52,6 +52,7 @@ import {
editPostFindRes,
commentsToFlatNodes,
commentSortSortType,
+ setupTippy,
} from '../utils';
import { i18n } from '../i18next';
import { T } from 'inferno-i18next';
@@ -620,6 +621,7 @@ export class Main extends Component<any, MainState> {
this.state.posts = data.posts;
this.state.loading = false;
this.setState(this.state);
+ setupTippy();
} else if (res.op == UserOperation.CreatePost) {
let data = res.data as PostResponse;