make suggested changes

This commit is contained in:
Alec Armbruster 2023-06-20 10:21:31 -04:00
parent b874eaa38d
commit 2d4c9dd1c2
No known key found for this signature in database
GPG key ID: 52BC7C84E960FD1B
6 changed files with 7 additions and 8 deletions

@ -1 +1 @@
Subproject commit 7fc71d0860bbe5c6d620ec27112350ffe5b9229c
Subproject commit c9a07885f35cf334d3cf167cb57587a8177fc3fb

View file

@ -1,3 +1,4 @@
import { debounce } from "@utils/helpers";
import autosize from "autosize";
import { Component, InfernoNode, linkEvent } from "inferno";
import {
@ -32,7 +33,6 @@ import {
validURL,
webArchiveUrl,
} from "../../utils";
import debounce from "../../utils/helpers/debounce";
import { Icon, Spinner } from "../common/icon";
import { LanguageSelect } from "../common/language-select";
import { MarkdownTextArea } from "../common/markdown-textarea";

View file

@ -1,4 +1,4 @@
import isBrowser from "./utils/browser/is-browser";
import { isBrowser } from "@utils/browser";
const testHost = "0.0.0.0:8536";

View file

@ -1,3 +1,4 @@
import { isBrowser } from "@utils/browser";
import i18next, { i18nTyped, Resource } from "i18next";
import { UserService } from "./services";
import { ar } from "./translations/ar";
@ -31,7 +32,6 @@ import { sv } from "./translations/sv";
import { vi } from "./translations/vi";
import { zh } from "./translations/zh";
import { zh_Hant } from "./translations/zh_Hant";
import isBrowser from "./utils/browser/is-browser";
export const languages = [
{ resource: ar, code: "ar", name: "العربية" },

View file

@ -1,11 +1,11 @@
// 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;

View file

@ -1,3 +1,5 @@
import { isBrowser } from "@utils/browser";
import { debounce, groupBy } from "@utils/helpers";
import { Picker } from "emoji-mart";
import emojiShortName from "emoji-short-name";
import {
@ -50,9 +52,6 @@ import {
} from "./interfaces";
import { HttpService, UserService } from "./services";
import { RequestState } from "./services/HttpService";
import isBrowser from "./utils/browser/is-browser";
import debounce from "./utils/helpers/debounce";
import { groupBy } from "./utils/helpers/group-by";
let Tribute: any;
if (isBrowser()) {