mirror of
https://github.com/gethomepage/homepage.git
synced 2026-01-11 11:32:09 +08:00
Chore: add organize imports to pre-commit (#5104)
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { useTranslation } from "next-i18next";
|
||||
import Block from "components/services/widget/block";
|
||||
import Container from "components/services/widget/container";
|
||||
import { useTranslation } from "next-i18next";
|
||||
|
||||
import useWidgetAPI from "utils/proxy/use-widget-api";
|
||||
|
||||
|
||||
@@ -2,11 +2,11 @@
|
||||
import crypto from "crypto";
|
||||
import querystring from "querystring";
|
||||
|
||||
import { sha256, uniqueRid, validateRid, createEncryptionToken, decrypt, encrypt } from "./tools";
|
||||
import { createEncryptionToken, decrypt, encrypt, sha256, uniqueRid, validateRid } from "./tools";
|
||||
|
||||
import getServiceWidget from "utils/config/service-helpers";
|
||||
import { httpProxy } from "utils/proxy/http";
|
||||
import createLogger from "utils/logger";
|
||||
import { httpProxy } from "utils/proxy/http";
|
||||
|
||||
const proxyName = "jdownloaderProxyHandler";
|
||||
const logger = createLogger(proxyName);
|
||||
|
||||
Reference in New Issue
Block a user