biome format --write

This commit is contained in:
Henry Jameson 2026-01-06 16:22:52 +02:00
commit 9262e803ec
415 changed files with 54076 additions and 17419 deletions

View file

@ -1,14 +1,16 @@
const RemoteUserResolver = {
data: () => ({
error: false
error: false,
}),
mounted () {
mounted() {
this.redirect()
},
methods: {
redirect () {
const acct = this.$route.params.username + '@' + this.$route.params.hostname
this.$store.state.api.backendInteractor.fetchUser({ id: acct })
redirect() {
const acct =
this.$route.params.username + '@' + this.$route.params.hostname
this.$store.state.api.backendInteractor
.fetchUser({ id: acct })
.then((externalUser) => {
if (externalUser.error) {
this.error = true
@ -17,15 +19,15 @@ const RemoteUserResolver = {
const id = externalUser.id
this.$router.replace({
name: 'external-user-profile',
params: { id }
params: { id },
})
}
})
.catch(() => {
this.error = true
})
}
}
},
},
}
export default RemoteUserResolver