mirror of
https://github.com/LemmyNet/lemmy-ui.git
synced 2024-12-22 19:01:26 +00:00
make suggested changes
This commit is contained in:
parent
b874eaa38d
commit
2d4c9dd1c2
6 changed files with 7 additions and 8 deletions
|
@ -1 +1 @@
|
|||
Subproject commit 7fc71d0860bbe5c6d620ec27112350ffe5b9229c
|
||||
Subproject commit c9a07885f35cf334d3cf167cb57587a8177fc3fb
|
|
@ -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";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import isBrowser from "./utils/browser/is-browser";
|
||||
import { isBrowser } from "@utils/browser";
|
||||
|
||||
const testHost = "0.0.0.0:8536";
|
||||
|
||||
|
|
|
@ -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: "العربية" },
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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()) {
|
||||
|
|
Loading…
Reference in a new issue