aboutsummaryrefslogtreecommitdiff
path: root/vnext/src
diff options
context:
space:
mode:
Diffstat (limited to 'vnext/src')
-rw-r--r--vnext/src/App.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/vnext/src/App.js b/vnext/src/App.js
index 7e0c4007..7738abcd 100644
--- a/vnext/src/App.js
+++ b/vnext/src/App.js
@@ -2,6 +2,8 @@ import React, { useState, useEffect } from 'react';
import { BrowserRouter as Router, Route, Link, Switch } from 'react-router-dom';
import qs from 'qs';
+import svg4everybody from 'svg4everybody';
+
import Icon from './ui/Icon';
import { Discover, Discussions, Blog, Tag, Home } from './ui/Feeds';
import { Friends, Readers } from './ui/Users';
@@ -19,6 +21,11 @@ import cookie from 'react-cookies';
import { me } from './api';
export default function App() {
+
+ useEffect(() => {
+ svg4everybody();
+ }, []);
+
let params = qs.parse(window.location.search.substring(1));
if (params.hash) {
cookie.save('hash', params.hash, { path: '/' });