// import Cookies from 'js-cookie';
+import { isBrowser } from "@utils/browser";
import IsomorphicCookie from "isomorphic-cookie";
import jwt_decode from "jwt-decode";
import { LoginResponse, MyUserInfo } from "lemmy-js-client";
import { isHttps } from "../env";
import { i18n } from "../i18next";
import { isAuthPath, toast } from "../utils";
-import isBrowser from "../utils/browser/is-browser";
interface Claims {
sub: number;