about summary refs log tree commit diff
path: root/src/App.web.tsx
diff options
context:
space:
mode:
authorPaul Frazee <pfrazee@gmail.com>2022-07-19 16:04:45 -0500
committerPaul Frazee <pfrazee@gmail.com>2022-07-19 16:04:45 -0500
commite78143b3dc7ae52e0680799e190a3df3ed54aac3 (patch)
treee27a219f141a32db013a42520499e435aee4ca1e /src/App.web.tsx
parentdc55f580049d284c6e01271e3885c4fa23a8f458 (diff)
downloadvoidsky-e78143b3dc7ae52e0680799e190a3df3ed54aac3.tar.zst
Add icons
Diffstat (limited to 'src/App.web.tsx')
-rw-r--r--src/App.web.tsx24
1 files changed, 2 insertions, 22 deletions
diff --git a/src/App.web.tsx b/src/App.web.tsx
index a6f98487c..018ac4003 100644
--- a/src/App.web.tsx
+++ b/src/App.web.tsx
@@ -1,29 +1,8 @@
 import React, {useState, useEffect} from 'react'
-import moment from 'moment'
+import * as view from './view/index'
 import {RootStoreModel, setupState, RootStoreProvider} from './state'
 import * as Routes from './view/routes'
 
-moment.updateLocale('en', {
-  relativeTime: {
-    future: 'in %s',
-    past: '%s ago',
-    s: 'a few seconds',
-    ss: '%ds',
-    m: 'a minute',
-    mm: '%dm',
-    h: 'an hour',
-    hh: '%dh',
-    d: 'a day',
-    dd: '%dd',
-    w: 'a week',
-    ww: '%dw',
-    M: 'a month',
-    MM: '%dmo',
-    y: 'a year',
-    yy: '%dy',
-  },
-})
-
 function App() {
   const [rootStore, setRootStore] = useState<RootStoreModel | undefined>(
     undefined,
@@ -31,6 +10,7 @@ function App() {
 
   // init
   useEffect(() => {
+    view.setup()
     setupState().then(setRootStore)
   }, [])