chore(deps): update lint (#1928)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: 三咲智子 Kevin Deng <sxzz@sxzz.moe>
This commit is contained in:
parent
2838e18ff7
commit
3c43a1cdd1
62 changed files with 464 additions and 434 deletions
|
@ -4,7 +4,7 @@ import type { UserLogin } from '~/types'
|
|||
const all = useUsers()
|
||||
const router = useRouter()
|
||||
|
||||
const clickUser = (user: UserLogin) => {
|
||||
function clickUser(user: UserLogin) {
|
||||
if (user.account.acct === currentUser.value?.account.acct)
|
||||
router.push(getAccountRoute(user.account))
|
||||
else
|
||||
|
|
|
@ -16,13 +16,13 @@ const sorted = computed(() => {
|
|||
})
|
||||
|
||||
const router = useRouter()
|
||||
const clickUser = (user: UserLogin) => {
|
||||
function clickUser(user: UserLogin) {
|
||||
if (user.account.id === currentUser.value?.account.id)
|
||||
router.push(getAccountRoute(user.account))
|
||||
else
|
||||
switchUser(user)
|
||||
}
|
||||
const processSignIn = () => {
|
||||
function processSignIn() {
|
||||
if (singleInstanceServer)
|
||||
oauth()
|
||||
else
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue