diff --git a/packages/backend-rs/src/misc/acct.rs b/packages/backend-rs/src/misc/acct.rs index c24ff06dd4..41cdc10309 100644 --- a/packages/backend-rs/src/misc/acct.rs +++ b/packages/backend-rs/src/misc/acct.rs @@ -10,7 +10,7 @@ pub fn string_to_acct(acct: &str) -> Acct { let split: Vec<&str> = if let Some(stripped) = acct.strip_prefix('@') { stripped } else { - &acct + acct } .split('@') .collect(); diff --git a/packages/client/src/account.ts b/packages/client/src/account.ts index ab91d8cc47..cf6fb54915 100644 --- a/packages/client/src/account.ts +++ b/packages/client/src/account.ts @@ -4,9 +4,9 @@ import { i18n } from "./i18n"; import { apiUrl } from "@/config"; import { me } from "@/me"; import { alert, api, popup, popupMenu, waiting } from "@/os"; +import icon from "@/scripts/icon"; import { del, get, set } from "@/scripts/idb-proxy"; import { reloadChannel, unisonReload } from "@/scripts/unison-reload"; -import icon from "@/scripts/icon"; // TODO: 他のタブと永続化されたstateを同期 diff --git a/packages/client/src/components/MkChannelList.vue b/packages/client/src/components/MkChannelList.vue index 15f199c90f..4b5937e4db 100644 --- a/packages/client/src/components/MkChannelList.vue +++ b/packages/client/src/components/MkChannelList.vue @@ -23,11 +23,11 @@