style(frontend): apply ultracite 7.12 formatting and lint rules
This commit is contained in:
1 parent
fc4758aa0b
commit
c8e5cff871
109 files changed
+845
-817
No files matched your search
@@ -22,7 +22,8 @@
|
||||
let seq = 0;
|
||||
|
||||
async function run(value: string, id: number) {
|
||||
const current = ++seq;
|
||||
seq += 1;
|
||||
const current = seq;
|
||||
loading = true;
|
||||
try {
|
||||
const result = await searchMessages(value, { chat_id: id });
|
||||
@@ -47,7 +48,7 @@
|
||||
clearTimeout(timer);
|
||||
}
|
||||
if (value.length === 0 || chatId === null) {
|
||||
seq++;
|
||||
seq += 1;
|
||||
hits = [];
|
||||
loading = false;
|
||||
return;
|
||||
@@ -69,12 +70,12 @@
|
||||
|
||||
<div class="chat-search">
|
||||
<div class="search-input">
|
||||
<Icon name="search" size="1.25rem" class="chat-search-icon" />
|
||||
<Icon class="chat-search-icon" name="search" size="1.25rem" />
|
||||
<input
|
||||
type="text"
|
||||
placeholder="Поиск в чате"
|
||||
value={query}
|
||||
oninput={onInput}
|
||||
placeholder="Поиск в чате"
|
||||
type="text"
|
||||
value={query}
|
||||
>
|
||||
</div>
|
||||
<div class="results custom-scroll">
|
||||
|
||||
Reference in new issue
Block a user