Skip to content

Commit

Permalink
bug fix: always redirect to same user
Browse files Browse the repository at this point in the history
  • Loading branch information
arily committed Aug 5, 2023
1 parent 9791fc5 commit 303e9c2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions src/server/backend/$base/locales/@types.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
export interface ServerLocale {
landing: {
content: string
}
import type { ServerLocale as Base } from '$base/locales/@types'

export interface ServerLocale extends Base{

}
2 changes: 1 addition & 1 deletion src/store/userpage.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,8 @@ export default defineStore('userpage', () => {

const currentRankingSystem = shallowRef<ReturnType<typeof _computeRankingSystem> | null>(null)

const route = useRoute('user-handle')
async function refresh() {
const route = useRoute('user-handle')
try {
const u = await app.$client.user.userpage.query({
handle: `${route.params.handle}`,
Expand Down

0 comments on commit 303e9c2

Please sign in to comment.