import { Component } from "inferno";
import { Helmet } from "inferno-helmet";
-import { Provider } from "inferno-i18next";
+import { Provider } from "inferno-i18next-dess";
import { Route, Switch } from "inferno-router";
import { GetSiteResponse } from "lemmy-js-client";
import { i18n } from "../../i18next";
<>
<Provider i18next={i18n}>
<div>
- <Theme localUserView={siteRes.my_user} />
+ <Theme
+ myUserInfo={siteRes.my_user}
+ defaultTheme={siteRes.site_view.site.default_theme}
+ />
{siteRes &&
siteRes.site_view &&
this.props.siteRes.site_view.site.icon && (