summaryrefslogtreecommitdiffstats
path: root/ui/src/components/moment-time.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/moment-time.tsx
parentd14504763a90d9cc1bf91229ca0dde28a92a6bbc (diff)
Better tippy loading. Fixes #577
Diffstat (limited to 'ui/src/components/moment-time.tsx')
-rw-r--r--ui/src/components/moment-time.tsx6
1 files changed, 1 insertions, 5 deletions
diff --git a/ui/src/components/moment-time.tsx b/ui/src/components/moment-time.tsx
index 4aba68d2..24ab2d89 100644
--- a/ui/src/components/moment-time.tsx
+++ b/ui/src/components/moment-time.tsx
@@ -1,6 +1,6 @@
import { Component } from 'inferno';
import moment from 'moment';
-import { getMomentLanguage, setupTippy, capitalizeFirstLetter } from '../utils';
+import { getMomentLanguage, capitalizeFirstLetter } from '../utils';
import { i18n } from '../i18next';
interface MomentTimeProps {
@@ -20,10 +20,6 @@ export class MomentTime extends Component<MomentTimeProps, any> {
moment.locale(lang);
}
- componentDidMount() {
- setupTippy();
- }
-
render() {
if (this.props.data.updated) {
return (