More appropriate wording for tdata import dialog error message
Some checks failed
Docs / build (push) Has been cancelled
Some checks failed
Docs / build (push) Has been cancelled
This commit is contained in:
parent
a49b561916
commit
c01ce1b01a
1 changed files with 1 additions and 1 deletions
|
@ -22,7 +22,7 @@ export function TdataImportDialog(props: {
|
||||||
}) {
|
}) {
|
||||||
const [reading, setReading] = createSignal(true)
|
const [reading, setReading] = createSignal(true)
|
||||||
const [accounts, setAccounts] = createSignal<TdataAccount[]>([])
|
const [accounts, setAccounts] = createSignal<TdataAccount[]>([])
|
||||||
const [error, setError] = createSignal<string | undefined>('I like penis')
|
const [error, setError] = createSignal<string | undefined>('Unknown error')
|
||||||
const [loading, setLoading] = createSignal(false)
|
const [loading, setLoading] = createSignal(false)
|
||||||
|
|
||||||
const accountExists = (id: number) => $accounts.get().some(it => it.telegramId === id)
|
const accountExists = (id: number) => $accounts.get().some(it => it.telegramId === id)
|
||||||
|
|
Loading…
Reference in a new issue