mirror of
https://github.com/versia-pub/frontend.git
synced 2026-03-13 03:29:16 +01:00
refactor: ♻️ Fix linter errors
This commit is contained in:
parent
8a984abfb2
commit
f9433e259b
30 changed files with 235 additions and 157 deletions
|
|
@ -26,7 +26,7 @@ export const signInWithCode = (code: string, appData: ApplicationData) => {
|
|||
!identities.value.find(
|
||||
(i) => i.account.id === accountOutput.data.id,
|
||||
)
|
||||
)
|
||||
) {
|
||||
identity.value = {
|
||||
id: nanoid(),
|
||||
tokens: res.data,
|
||||
|
|
@ -35,6 +35,7 @@ export const signInWithCode = (code: string, appData: ApplicationData) => {
|
|||
permissions: [],
|
||||
emojis: [],
|
||||
};
|
||||
}
|
||||
|
||||
// Remove code from URL
|
||||
window.history.replaceState(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue